Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent a48190f1b3
commit d128a43239

@ -287,7 +287,7 @@ Knowit::Knowit(TQWidget*, const char *name) : KMainWindow(0, name),
show();
bool opened = false;
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
for(int i = 0; i < args->count(); i++)
if (open(args->url(i))) {
opened = true; break;

@ -40,8 +40,8 @@ int main(int argc, char *argv[])
aboutData.setTranslator (I18N_NOOP("_: NAME OF TRANSLATORS\nYour names"),
I18N_NOOP("_: EMAIL OF TRANSLATORS\nYour emails"));
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KnowitApplication a(true, true);

Loading…
Cancel
Save