diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /configdialog/main.cpp | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configdialog/main.cpp')
-rw-r--r-- | configdialog/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configdialog/main.cpp b/configdialog/main.cpp index fe5e508..09de452 100644 --- a/configdialog/main.cpp +++ b/configdialog/main.cpp @@ -58,11 +58,11 @@ class KbfxConfigApplication : public KUniqueApplication /* prepare kbfx theme cmdline option given */ if ( KbfxArgs->isSet ( "prepare" ) ) { - QString m_KbfxThemeFolderUrl = KbfxArgs->getOption ( "prepare" ); + TQString m_KbfxThemeFolderUrl = KbfxArgs->getOption ( "prepare" ); if ( m_KbfxThemeFolderUrl.endsWith ( "/" ) ) m_KbfxThemeFolderUrl.truncate ( m_KbfxThemeFolderUrl.length()-1 ); - QString theme_name = m_KbfxThemeFolderUrl.section ( '/', -1 ); - QString archive_dir = m_KbfxThemeFolderUrl.section ( '/', 0, -2 ); - QString archive_name = archive_dir+"/"+ theme_name+".kbfxtheme"; + TQString theme_name = m_KbfxThemeFolderUrl.section ( '/', -1 ); + TQString archive_dir = m_KbfxThemeFolderUrl.section ( '/', 0, -2 ); + TQString archive_name = archive_dir+"/"+ theme_name+".kbfxtheme"; kdDebug() << "Prepare option arguments: " << theme_name << endl @@ -95,14 +95,14 @@ class KbfxConfigApplication : public KUniqueApplication } kdDebug() << "KBFX theme prepared. Quitting..." << endl; - QTimer::singleShot ( 100, mainWin, SLOT ( deleteLater() ) ); + TQTimer::singleShot ( 100, mainWin, TQT_SLOT ( deleteLater() ) ); } else { /* install kbfx theme cmdline option given */ if ( KbfxArgs->isSet ( "install" ) ) { - QString m_KbfxThemeUrl = KbfxArgs->getOption ( "install" ); + TQString m_KbfxThemeUrl = KbfxArgs->getOption ( "install" ); kdDebug() << "Install option argument: " << m_KbfxThemeUrl << endl; |