Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4

master
Timothy Pearson 12 years ago
parent 3ebb02e2a6
commit d4ef3460f8

@ -36,7 +36,7 @@ using namespace aptFront;
using namespace aptFront::cache;
using namespace adept;
App::App( KCmdLineArgs *args ) {
App::App( TDECmdLineArgs *args ) {
setMainWidget( this );
initialize();
TQString qs_pkgname;

@ -33,7 +33,7 @@ class App : public KMainWindow, Application {
public:
void setupActions();
ExtTerminalInterface *terminal();
App( KCmdLineArgs *a );
App( TDECmdLineArgs *a );
signals:
void imDone();
protected slots:

@ -32,11 +32,11 @@ int main(int argc, char *argv[])
"me at mornfall dot net",
"http://web.mornfall.net");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
KGlobal::locale()->insertCatalogue(TQString::fromUtf8("libept"));
App *ta = new App( args );

@ -33,12 +33,12 @@ int main(int argc, char *argv[])
"me at mornfall dot net",
"http://web.mornfall.net");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
KGlobal::locale()->insertCatalogue(TQString::fromUtf8("libept"));

@ -33,12 +33,12 @@ int main(int argc, char *argv[])
"me at mornfall dot net",
"http://web.mornfall.net");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
// if (args && args->isSet("xy")) ...
/* KConfig* config = KGlobal::config();

@ -354,7 +354,7 @@ int main(int argc, char *argv[])
"2.1 Cruiser",
DESCRIPTION, KAboutData::License_BSD,
"Copyright (C) 2005, 2006 Peter Rockai");
KCmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::init(argc, argv, &about);
NotifierApp::addCmdLineOptions();
if (!NotifierApp::start())

@ -33,12 +33,12 @@ int main(int argc, char *argv[])
"me at mornfall dot net",
"http://web.mornfall.net");
KCmdLineArgs::init( argc, argv, &aboutData );
KCmdLineArgs::addCmdLineOptions( options );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
// if (args && args->isSet("xy")) ...
/* KConfig* config = KGlobal::config();

Loading…
Cancel
Save