From 421b60af92c83b889f8903c2898f2bd07186fcd8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 5 May 2011 22:07:15 +0000 Subject: 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 --- configdialog/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'configdialog/main.cpp') 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; -- cgit v1.2.3