Changeset View
Changeset View
Standalone View
Standalone View
src/tests/newapi/main.cpp
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 84 | /* if (argc < minargs) { | |||
---|---|---|---|---|---|
85 | usage(); | 85 | usage(); | ||
86 | RETURN(0); | 86 | RETURN(0); | ||
87 | }*/ | 87 | }*/ | ||
88 | QFileInfo info = QFileInfo(argv[0]); | 88 | QFileInfo info = QFileInfo(argv[0]); | ||
89 | prgname = info.baseName().toLatin1(); | 89 | prgname = info.baseName().toLatin1(); | ||
90 | 90 | | |||
91 | KAboutData aboutData(prgname, 0, kxi18n("KexiDBTest"), | 91 | KAboutData aboutData(prgname, 0, kxi18n("KexiDBTest"), | ||
92 | KEXI_VERSION_STRING, KLocalizedString(), KAboutData::License_GPL, | 92 | KEXI_VERSION_STRING, KLocalizedString(), KAboutData::License_GPL, | ||
93 | kxi18n("(c) 2003-2010, Kexi Team\n" | 93 | kxi18n("(c) 2003-2010, KEXI Team\n" | ||
94 | "(c) 2003-2006, OpenOffice Software.\n"), | 94 | "(c) 2003-2006, OpenOffice Software.\n"), | ||
95 | KLocalizedString(), | 95 | KLocalizedString(), | ||
96 | "http://www.kexi-project.org", | 96 | "http://www.kexi-project.org", | ||
97 | "submit@bugs.kde.org"); | 97 | "submit@bugs.kde.org"); | ||
98 | KCmdLineArgs::init(argc, argv, &aboutData); | 98 | KCmdLineArgs::init(argc, argv, &aboutData); | ||
99 | 99 | | |||
100 | KCmdLineOptions options; | 100 | KCmdLineOptions options; | ||
101 | options.add("test <test_name>", kxi18n("Available tests:\n" | 101 | options.add("test <test_name>", kxi18n("Available tests:\n" | ||
▲ Show 20 Lines • Show All 182 Lines • Show Last 20 Lines |