diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/media/kcmodule/main.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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 'kioslave/media/kcmodule/main.cpp')
-rw-r--r-- | kioslave/media/kcmodule/main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kioslave/media/kcmodule/main.cpp b/kioslave/media/kcmodule/main.cpp index e431e95f8..da52ea119 100644 --- a/kioslave/media/kcmodule/main.cpp +++ b/kioslave/media/kcmodule/main.cpp @@ -19,8 +19,8 @@ #include "main.h" -#include <qtabwidget.h> -#include <qlayout.h> +#include <tqtabwidget.h> +#include <tqlayout.h> #include <klocale.h> #include <kaboutdata.h> @@ -32,16 +32,16 @@ #include "managermodule.h" -typedef KGenericFactory<MediaModule, QWidget> MediaFactory; +typedef KGenericFactory<MediaModule, TQWidget> MediaFactory; K_EXPORT_COMPONENT_FACTORY( kcm_media, MediaFactory( "kcmmedia" ) ) -MediaModule::MediaModule( QWidget *parent, const char *name, const QStringList& ) +MediaModule::MediaModule( TQWidget *parent, const char *name, const TQStringList& ) : KCModule(MediaFactory::instance(), parent, name ) { KGlobal::locale()->insertCatalogue("kio_media"); - QVBoxLayout *layout = new QVBoxLayout( this, 0, KDialog::spacingHint() ); - QTabWidget *tab = new QTabWidget( this ); + TQVBoxLayout *layout = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); + TQTabWidget *tab = new TQTabWidget( this ); layout->addWidget( tab ); @@ -49,13 +49,13 @@ MediaModule::MediaModule( QWidget *parent, const char *name, const QStringList& m_notifierModule = new NotifierModule( this, "notifier" ); tab->addTab( m_notifierModule, i18n( "&Notifications" ) ); - connect( m_notifierModule, SIGNAL( changed( bool ) ), - this, SLOT( moduleChanged( bool ) ) ); + connect( m_notifierModule, TQT_SIGNAL( changed( bool ) ), + this, TQT_SLOT( moduleChanged( bool ) ) ); m_managerModule = new ManagerModule( this, "manager" ); tab->addTab( m_managerModule, i18n( "&Advanced" ) ); - connect( m_managerModule, SIGNAL( changed( bool ) ), - this, SLOT( moduleChanged( bool ) ) ); + connect( m_managerModule, TQT_SIGNAL( changed( bool ) ), + this, TQT_SLOT( moduleChanged( bool ) ) ); @@ -95,7 +95,7 @@ void MediaModule::moduleChanged( bool state ) emit changed( state ); } -QString MediaModule::quickHelp() const +TQString MediaModule::quickHelp() const { return i18n("FIXME : Write me..."); } |