summaryrefslogtreecommitdiffstats
path: root/ksplashml/kcmksplash/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksplashml/kcmksplash/main.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksplashml/kcmksplash/main.cpp')
-rw-r--r--ksplashml/kcmksplash/main.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksplashml/kcmksplash/main.cpp b/ksplashml/kcmksplash/main.cpp
index d48923a28..7b4557608 100644
--- a/ksplashml/kcmksplash/main.cpp
+++ b/ksplashml/kcmksplash/main.cpp
@@ -12,8 +12,8 @@
#include "config.h"
#endif
-#include <qlayout.h>
-#include <qtabwidget.h>
+#include <tqlayout.h>
+#include <tqtabwidget.h>
#include <kaboutdata.h>
#include <kcmodule.h>
@@ -26,10 +26,10 @@
class KSplashThemeMgr : public KCModule
{
public:
- KSplashThemeMgr( QWidget *parent, const char *name, const QStringList &/*unused*/);
+ KSplashThemeMgr( TQWidget *parent, const char *name, const TQStringList &/*unused*/);
~KSplashThemeMgr();
- QString quickHelp() const;
+ TQString quickHelp() const;
virtual void init();
virtual void save();
@@ -40,26 +40,26 @@ private:
SplashInstaller *mInstaller;
};
-typedef KGenericFactory< KSplashThemeMgr, QWidget > KSplashThemeMgrFactory;
+typedef KGenericFactory< KSplashThemeMgr, TQWidget > KSplashThemeMgrFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_ksplashthemes, KSplashThemeMgrFactory("ksplashthemes") )
// -----------------------------------------------------------------------------------------
-KSplashThemeMgr::KSplashThemeMgr( QWidget *parent, const char *name, const QStringList &)
+KSplashThemeMgr::KSplashThemeMgr( TQWidget *parent, const char *name, const TQStringList &)
: KCModule( KSplashThemeMgrFactory::instance(), parent, name ), mInstaller(new SplashInstaller(this))
{
init();
#if 0
- QHBoxLayout *box = new QHBoxLayout(this);
- QTabWidget *tab = new QTabWidget(this); // There will be more tabs in the future.
+ TQHBoxLayout *box = new TQHBoxLayout(this);
+ TQTabWidget *tab = new TQTabWidget(this); // There will be more tabs in the future.
box->addWidget(tab);
tab->addTab( mInstaller, i18n("&Theme Installer") );
#else
- QHBoxLayout *box = new QHBoxLayout(this, 0, 0);
+ TQHBoxLayout *box = new TQHBoxLayout(this, 0, 0);
box->addWidget(mInstaller);
#endif
- connect( mInstaller, SIGNAL(changed(bool)), SIGNAL(changed(bool)) );
+ connect( mInstaller, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)) );
KAboutData *about = new KAboutData( "kcmksplash"
,I18N_NOOP("KDE splash screen theme manager")
,"0.1"
@@ -79,7 +79,7 @@ KSplashThemeMgr::~KSplashThemeMgr()
// Do not delete the installer as it is now owned by the tab widget.
}
-QString KSplashThemeMgr::quickHelp() const
+TQString KSplashThemeMgr::quickHelp() const
{
return i18n("<h1>Splash Screen Theme Manager </h1> Install and view splash screen themes.");
}