32 #include <QApplication>
40 int main(
int argc,
char** argv)
42 QApplication
app(argc, argv);
48 QStringList current_names;
49 current_names <<
"Chub"
53 &display_name,
nullptr);
54 if (dialog.exec() == QDialog::Accepted)
56 printf(
"lookup_name='%s', display_name='%s'\n", lookup_name.toStdString().c_str(),
57 display_name.toStdString().c_str());
61 printf(
"cancelled\n");