diff options
Diffstat (limited to 'kxmleditor/main.cpp')
-rw-r--r-- | kxmleditor/main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kxmleditor/main.cpp b/kxmleditor/main.cpp index 0bbfc79..7c7726f 100644 --- a/kxmleditor/main.cpp +++ b/kxmleditor/main.cpp @@ -15,12 +15,12 @@ * * ***************************************************************************/ -#include <kapplication.h> -#include <kcmdlineargs.h> -#include <kaboutdata.h> -#include <klocale.h> +#include <tdeapplication.h> +#include <tdecmdlineargs.h> +#include <tdeaboutdata.h> +#include <tdelocale.h> #include <kdebug.h> -#include <kmessagebox.h> +#include <tdemessagebox.h> #include <dcopclient.h> //#include "kxmleditor.h" @@ -28,7 +28,7 @@ #include "kxmleditorshell.h" -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "+[File(s)]", I18N_NOOP("XML file(s) to open"), 0 }, { 0, 0, 0 } @@ -40,10 +40,10 @@ static KCmdLineOptions options[] = /** @short Main application function that starts-up the application */ int main(int argc, char *argv[]) { - KCmdLineArgs::init( argc, argv, new KXMLEditorAboutData() ); - KCmdLineArgs::addCmdLineOptions( options ); // Add our own options. + TDECmdLineArgs::init( argc, argv, new KXMLEditorAboutData() ); + TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. - KApplication app; + TDEApplication app; // comment the following lines to use KXMLEditorShell instead of KXMLEditorApp #if ! USE_KPART @@ -55,7 +55,7 @@ int main(int argc, char *argv[]) KXMLEditorApp *kxmleditor = new KXMLEditorApp(); kxmleditor->show(); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); if(args->count()) { TQString strPath; @@ -84,7 +84,7 @@ int main(int argc, char *argv[]) } else { - KCmdLineArgs * pArgs = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs * pArgs = TDECmdLineArgs::parsedArgs(); KXMLEditorShell * pShell; bool bNoCorrectInstance = true; if ( pArgs->count() > 0 ) |