summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-06 19:37:20 -0600
committerTimothy Pearson <[email protected]>2013-02-06 19:37:20 -0600
commitb542273c9fe92c6be8897175c6d977d6f4b29d50 (patch)
tree43aa1a3f85b14ae910aebd81ddbad78a9ed5416a
parentfbf63c13451c97c63472235ce096539a014aaab4 (diff)
downloadkpilot-b542273c9fe92c6be8897175c6d977d6f4b29d50.tar.gz
kpilot-b542273c9fe92c6be8897175c6d977d6f4b29d50.zip
Rename KCmd to avoid conflicts with KDE4
-rw-r--r--kpilot/kpilot.cc4
-rw-r--r--kpilot/main-test.cc8
-rw-r--r--kpilot/pilotDaemon.cc4
-rw-r--r--tests/exportdatebook.cc4
-rw-r--r--tests/importaddresses.cc4
-rw-r--r--tests/importdatebook.cc4
-rw-r--r--tests/mergecalendars.cc4
-rw-r--r--tests/testaddress.cc4
-rw-r--r--tests/testcategories.cc4
-rw-r--r--tests/testdatabase.cc4
-rw-r--r--tests/testdatebook.cc4
11 files changed, 24 insertions, 24 deletions
diff --git a/kpilot/kpilot.cc b/kpilot/kpilot.cc
index 57b597a..72084fe 100644
--- a/kpilot/kpilot.cc
+++ b/kpilot/kpilot.cc
@@ -985,13 +985,13 @@ void KPilotInstaller::componentUpdate()
//
//
//
-static KCmdLineOptions kpilotoptions[] = {
+static TDECmdLineOptions kpilotoptions[] = {
{"s", 0, 0},
{"setup",
I18N_NOOP("Setup the Pilot device, conduits and other parameters"),
0L},
{"debug <level>", I18N_NOOP("Set debugging level"), "0"},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/kpilot/main-test.cc b/kpilot/main-test.cc
index 4c1ce24..48268eb 100644
--- a/kpilot/main-test.cc
+++ b/kpilot/main-test.cc
@@ -60,7 +60,7 @@
#include "hotSync.h"
-static KCmdLineOptions generalOptions[] = {
+static TDECmdLineOptions generalOptions[] = {
{"p",0,0},
{"port <device>",
I18N_NOOP("Path to Pilot device node"),
@@ -85,10 +85,10 @@ static KCmdLineOptions generalOptions[] = {
{ "debug <level>",
I18N_NOOP("Set the debug level"), "1" },
#endif
- KCmdLineLastOption
+ TDECmdLineLastOption
} ;
-static KCmdLineOptions conduitOptions[] = {
+static TDECmdLineOptions conduitOptions[] = {
{ "T",0,0},
{ "notest",
I18N_NOOP("*Really* run the conduit, not in test mode."),
@@ -106,7 +106,7 @@ static KCmdLineOptions conduitOptions[] = {
{ "loop",
I18N_NOOP("Repeated perform action - only useful for --list"),
0 } ,
- KCmdLineLastOption
+ TDECmdLineLastOption
} ;
/**
diff --git a/kpilot/pilotDaemon.cc b/kpilot/pilotDaemon.cc
index 828fd96..1661ebd 100644
--- a/kpilot/pilotDaemon.cc
+++ b/kpilot/pilotDaemon.cc
@@ -1291,13 +1291,13 @@ void PilotDaemon::updateTrayStatus(const TQString &s)
emitDCOPSignal( "kpilotDaemonStatusDetails(TQDateTime,TQString,TQStringList,TQString,TQString,TQString,bool)", data );
}
-static KCmdLineOptions daemonoptions[] = {
+static TDECmdLineOptions daemonoptions[] = {
#ifdef DEBUG
{"debug <level>", I18N_NOOP("Set debugging level"), "0"},
#endif
{ "device <device>", I18N_NOOP("Device to try first"), ""},
{"fail-silently", I18N_NOOP("Exit instead of complaining about bad configuration files"), 0},
- KCmdLineLastOption
+ TDECmdLineLastOption
} ;
diff --git a/tests/exportdatebook.cc b/tests/exportdatebook.cc
index 6afaeb9..89517b7 100644
--- a/tests/exportdatebook.cc
+++ b/tests/exportdatebook.cc
@@ -44,12 +44,12 @@
#include "../conduits/vcalconduit/kcalRecord.cc"
#include "../conduits/vcalconduit/vcalRecord.cc"
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"verbose", "Verbose output", 0},
{"data-dir <path>","Set data directory", "."},
{"vcal-file <path>","Set vcal file", 0},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/tests/importaddresses.cc b/tests/importaddresses.cc
index 74e4652..3d4c0ff 100644
--- a/tests/importaddresses.cc
+++ b/tests/importaddresses.cc
@@ -43,12 +43,12 @@
#include "../conduits/abbrowserconduit/kabcRecord.h"
#include "../conduits/abbrowserconduit/kabcRecord.cc"
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"verbose", "Verbose output", 0},
{"data-dir <path>","Set data directory", "."},
{"address-file <path>","Set addressbook file", 0},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/tests/importdatebook.cc b/tests/importdatebook.cc
index 24281c0..c05ffa7 100644
--- a/tests/importdatebook.cc
+++ b/tests/importdatebook.cc
@@ -43,12 +43,12 @@
#include "../conduits/vcalconduit/kcalRecord.cc"
#include "../conduits/vcalconduit/vcalRecord.cc"
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"verbose", "Verbose output", 0},
{"data-dir <path>","Set data directory", "."},
{"vcal-file <path>","Set vcal file", 0},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/tests/mergecalendars.cc b/tests/mergecalendars.cc
index 274decd..b451ba7 100644
--- a/tests/mergecalendars.cc
+++ b/tests/mergecalendars.cc
@@ -37,13 +37,13 @@
#include "options.h"
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"korgfile <path>","KOrganizer master file", 0},
{"newfile <path>","Calendar file to merge into korganizer", 0},
{"category <string>","Category to remove from 'korgfile' and to add to events in 'newfile' for synch purposes", 0},
{"verbose", "Verbose debugging", 0},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/tests/testaddress.cc b/tests/testaddress.cc
index 318de98..bcedd9c 100644
--- a/tests/testaddress.cc
+++ b/tests/testaddress.cc
@@ -38,11 +38,11 @@
#include "pilotAddress.h"
#include "pilotLocalDatabase.h"
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"verbose", "Verbose output", 0},
{"data-dir <path>","Set data directory", "."},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/tests/testcategories.cc b/tests/testcategories.cc
index eb4728e..299b738 100644
--- a/tests/testcategories.cc
+++ b/tests/testcategories.cc
@@ -144,11 +144,11 @@ void categoryNames( const TQString &dir )
DEBUGKPILOT << "# Final categories\n# " << categories( appinfo ).join("\n# ") << endl;
}
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"verbose", "Verbose output", 0},
{"data-dir <path>","Set data directory", "."},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/tests/testdatabase.cc b/tests/testdatabase.cc
index 123eb2c..768d06f 100644
--- a/tests/testdatabase.cc
+++ b/tests/testdatabase.cc
@@ -244,10 +244,10 @@ int checkMemo()
return OK;
}
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"verbose", "Verbose output", 0},
- KCmdLineLastOption
+ TDECmdLineLastOption
};
diff --git a/tests/testdatebook.cc b/tests/testdatebook.cc
index 0335867..1facced 100644
--- a/tests/testdatebook.cc
+++ b/tests/testdatebook.cc
@@ -38,11 +38,11 @@
#include "pilotDateEntry.h"
#include "pilotLocalDatabase.h"
-static const KCmdLineOptions options[] =
+static const TDECmdLineOptions options[] =
{
{"verbose", "Verbose output", 0},
{"data-dir <path>","Set data directory", "."},
- KCmdLineLastOption
+ TDECmdLineLastOption
};