Rename KCmd to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent f4ebafc97e
commit cb76d2617b

@ -38,14 +38,14 @@ KCHMMainWindow * mainWindow;
int main( int argc, char ** argv ) int main( int argc, char ** argv )
{ {
#if defined (USE_KDE) #if defined (USE_KDE)
static KCmdLineOptions options[] = static TDECmdLineOptions options[] =
{ {
{ "autotestmode", "Perform auto testing", 0 }, { "autotestmode", "Perform auto testing", 0 },
{ "shortautotestmode", "Perform short auto testing", 0 }, { "shortautotestmode", "Perform short auto testing", 0 },
{ "+[chmfile]", "A CHM file to show", 0 }, { "+[chmfile]", "A CHM file to show", 0 },
{ "search <query>", I18N_NOOP("'--search <query>' specifies the search query to search, and activate the first entry if found"), 0 }, { "search <query>", I18N_NOOP("'--search <query>' specifies the search query to search, and activate the first entry if found"), 0 },
{ "sindex <word>", I18N_NOOP("'--sindex <word>' specifies the word to find in index, and activate if found"), 0 }, { "sindex <word>", I18N_NOOP("'--sindex <word>' specifies the word to find in index, and activate if found"), 0 },
KCmdLineLastOption TDECmdLineLastOption
}; };
TDEAboutData aboutdata ( "kchmviewer", TDEAboutData aboutdata ( "kchmviewer",

Loading…
Cancel
Save