diff options
Diffstat (limited to 'src/modules/setup/libkvisetup.cpp')
-rw-r--r-- | src/modules/setup/libkvisetup.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp index 7f5bad25..07ffc359 100644 --- a/src/modules/setup/libkvisetup.cpp +++ b/src/modules/setup/libkvisetup.cpp @@ -26,8 +26,8 @@ #include "setupwizard.h" -#include <qstring.h> -#include <qfile.h> +#include <tqstring.h> +#include <tqfile.h> #include "kvi_options.h" #include "kvi_defaults.h" @@ -39,14 +39,14 @@ #include "kvi_ircserverdb.h" // this will be choosen during the setup process -QString g_szChoosenIncomingDirectory; +TQString g_szChoosenIncomingDirectory; //int g_iThemeToApply = THEME_APPLY_NONE; bool bNeedToApplyDefaults; unsigned int uPort; -QString szHost; -QString szUrl; -QString szMircServers; -QString szMircIni; +TQString szHost; +TQString szUrl; +TQString szMircServers; +TQString szMircIni; @@ -61,7 +61,7 @@ KVIMODULEEXPORTFUNC bool setup_begin() KviSetupWizard * w = new KviSetupWizard(); int retcode = w->exec(); delete w; - return (retcode == QDialog::Accepted); + return (retcode == TQDialog::Accepted); } @@ -76,8 +76,8 @@ KVIMODULEEXPORTFUNC void setup_finish() KVI_OPTION_STRING(KviOption_stringIncomingPath) = g_szChoosenIncomingDirectory; // Reset the quit message and the real name... if they contain the KVIrc version // then probably the user hasn't even edited them. - if(KVI_OPTION_STRING(KviOption_stringQuitMessage).find("KVIrc",0,false) != -1) - KVI_OPTION_STRING(KviOption_stringQuitMessage) = KVI_DEFAULT_QUIT_MESSAGE; + if(KVI_OPTION_STRING(KviOption_stringQuitMessage).tqfind("KVIrc",0,false) != -1) + KVI_OPTION_STRING(KviOption_stringQuitMessage) = KVI_DEFAULT_TQUIT_MESSAGE; // We deserve to change the user's part message in something nice :) KVI_OPTION_STRING(KviOption_stringPartMessage) = KVI_DEFAULT_PART_MESSAGE; @@ -86,7 +86,7 @@ KVIMODULEEXPORTFUNC void setup_finish() // #define KVI_DEFAULT_AWAY_MESSAGE "I'm off to see the wizard." // Apply the choosen default theme - QString szDir; + TQString szDir; /* switch(g_iThemeToApply) { case THEME_APPLY_HIRES: |