summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 18:46:27 -0600
committerTimothy Pearson <[email protected]>2013-01-19 18:46:27 -0600
commitd128a43239a23d7a1702138b0fec961ee599e821 (patch)
tree141a3629f00a01eb8251918cf24265cc71be622c /src
parenta48190f1b398148bfc99db40d8a795c05474704b (diff)
downloadknowit-d128a43239a23d7a1702138b0fec961ee599e821.tar.gz
knowit-d128a43239a23d7a1702138b0fec961ee599e821.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/knowit.cpp2
-rw-r--r--src/main.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/knowit.cpp b/src/knowit.cpp
index 85036f3..f50ec91 100644
--- a/src/knowit.cpp
+++ b/src/knowit.cpp
@@ -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;
diff --git a/src/main.cpp b/src/main.cpp
index ae1f209..a260b12 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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);