summaryrefslogtreecommitdiffstats
path: root/kmplot
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:44 -0600
commit634845c7a257ece46caaf3d46d8e28c8c091cbf4 (patch)
tree47eed4bfeb29f9b24fbcdbc961d0804dbe0d3355 /kmplot
parent2362ae77640ba97b6ff6beba1636d0fb4da4b34a (diff)
downloadtdeedu-634845c7a257ece46caaf3d46d8e28c8c091cbf4.tar.gz
tdeedu-634845c7a257ece46caaf3d46d8e28c8c091cbf4.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'kmplot')
-rw-r--r--kmplot/kmplot/kmplot.cpp2
-rw-r--r--kmplot/kmplot/kmplot.h2
-rw-r--r--kmplot/kmplot/main.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/kmplot/kmplot/kmplot.cpp b/kmplot/kmplot/kmplot.cpp
index 5eb17971..1f33bb66 100644
--- a/kmplot/kmplot/kmplot.cpp
+++ b/kmplot/kmplot/kmplot.cpp
@@ -40,7 +40,7 @@
#include "MainDlg.h"
#include "kmplotprogress.h"
-KmPlot::KmPlot( KCmdLineArgs* args)
+KmPlot::KmPlot( TDECmdLineArgs* args)
: DCOPObject( "KmPlotShell" ), KParts::MainWindow( 0L, "KmPlot" )
{
// set the shell's ui resource file
diff --git a/kmplot/kmplot/kmplot.h b/kmplot/kmplot/kmplot.h
index 2e01f142..c8ebad71 100644
--- a/kmplot/kmplot/kmplot.h
+++ b/kmplot/kmplot/kmplot.h
@@ -54,7 +54,7 @@ public:
/**
* Default Constructor
*/
- KmPlot( KCmdLineArgs* args);
+ KmPlot( TDECmdLineArgs* args);
/**
* Default Destructor
diff --git a/kmplot/kmplot/main.cpp b/kmplot/kmplot/main.cpp
index b9d40a5a..60d8c239 100644
--- a/kmplot/kmplot/main.cpp
+++ b/kmplot/kmplot/main.cpp
@@ -69,11 +69,11 @@ int main( int argc, char **argv )
aboutData.addCredit( "David Vignoni", I18N_NOOP( "svg icon" ), "david80v@tin.it" );
aboutData.addCredit( "Albert Astals Cid", I18N_NOOP( "command line options, MIME type" ), "tsdgeos@terra.es" );
- KCmdLineArgs::init( argc, argv, &aboutData );
- KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
+ TDECmdLineArgs::init( argc, argv, &aboutData );
+ TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication ka;
- KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
KmPlot *w = new KmPlot( args );
w->show();
ka.setMainWidget( w );