diff options
Diffstat (limited to 'kbiff/main.cpp')
-rw-r--r-- | kbiff/main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kbiff/main.cpp b/kbiff/main.cpp index df91743..0739461 100644 --- a/kbiff/main.cpp +++ b/kbiff/main.cpp @@ -1,17 +1,17 @@ #include "kbiff.h" #include "version.h" -#include <kwin.h> +#include <twin.h> #include <kapp.h> -#include <klocale.h> -#include <kcmdlineargs.h> -#include <kaboutdata.h> +#include <tdelocale.h> +#include <tdecmdlineargs.h> +#include <tdeaboutdata.h> #include "setupdlg.h" static const char *description = I18N_NOOP("Full featured mail notification utility."); -static KCmdLineOptions option[] = +static TDECmdLineOptions option[] = { { "secure", I18N_NOOP("Run in secure mode"), 0 }, { "profile <profile>", I18N_NOOP("Use 'profile'"), 0 }, @@ -20,14 +20,14 @@ static KCmdLineOptions option[] = extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) { - KAboutData aboutData( "kbiff", I18N_NOOP("KBiff"), - kbiff_version, description, KAboutData::License_GPL, + TDEAboutData aboutData( "kbiff", I18N_NOOP("KBiff"), + kbiff_version, description, TDEAboutData::License_GPL, "(c) 1998-2008, Kurt Granroth"); aboutData.addAuthor("Kurt Granroth",0, "[email protected]"); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions(option); + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions(option); - KApplication app; + TDEApplication app; KBiff kbiff(app.dcopClient()); KBiffSetup* setup = 0; bool is_secure = false; @@ -36,7 +36,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) app.setMainWidget(&kbiff); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); is_secure = args->isSet("secure"); |