diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kview/modules/presenter/config | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kview/modules/presenter/config')
-rw-r--r-- | kview/modules/presenter/config/kviewpresenterconfig.cpp | 16 | ||||
-rw-r--r-- | kview/modules/presenter/config/kviewpresenterconfig.h | 6 |
2 files changed, 11 insertions, 11 deletions
diff --git a/kview/modules/presenter/config/kviewpresenterconfig.cpp b/kview/modules/presenter/config/kviewpresenterconfig.cpp index 92dd8627..e44889ed 100644 --- a/kview/modules/presenter/config/kviewpresenterconfig.cpp +++ b/kview/modules/presenter/config/kviewpresenterconfig.cpp @@ -18,9 +18,9 @@ #include "kviewpresenterconfig.h" -#include <qlayout.h> -#include <qcheckbox.h> -#include <qframe.h> +#include <tqlayout.h> +#include <tqcheckbox.h> +#include <tqframe.h> #include <klocale.h> #include <kdialog.h> @@ -28,17 +28,17 @@ #include <kconfig.h> #include <kgenericfactory.h> -typedef KGenericFactory<KViewPresenterConfig, QWidget> KViewPresenterConfigFactory; +typedef KGenericFactory<KViewPresenterConfig, TQWidget> KViewPresenterConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kviewpresenterconfig, KViewPresenterConfigFactory( "kcm_kviewpresenterconfig" ) ) -KViewPresenterConfig::KViewPresenterConfig( QWidget * parent, const char *, const QStringList & args ) +KViewPresenterConfig::KViewPresenterConfig( TQWidget * parent, const char *, const TQStringList & args ) : KCModule( KViewPresenterConfigFactory::instance(), parent, args ) { - QBoxLayout * layout = new QVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); + TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); layout->setAutoAdd( true ); - m_pCheckBox = new QCheckBox( "This is only for testing...", this ); - connect( m_pCheckBox, SIGNAL( clicked() ), this, SLOT( checkChanged() ) ); + m_pCheckBox = new TQCheckBox( "This is only for testing...", this ); + connect( m_pCheckBox, TQT_SIGNAL( clicked() ), this, TQT_SLOT( checkChanged() ) ); } KViewPresenterConfig::~KViewPresenterConfig() diff --git a/kview/modules/presenter/config/kviewpresenterconfig.h b/kview/modules/presenter/config/kviewpresenterconfig.h index c839690a..ae257cea 100644 --- a/kview/modules/presenter/config/kviewpresenterconfig.h +++ b/kview/modules/presenter/config/kviewpresenterconfig.h @@ -21,13 +21,13 @@ #include <kcmodule.h> -class QCheckBox; +class TQCheckBox; class KViewPresenterConfig : public KCModule { Q_OBJECT public: - KViewPresenterConfig( QWidget * parent, const char * name = 0, const QStringList & args = QStringList() ); + KViewPresenterConfig( TQWidget * parent, const char * name = 0, const TQStringList & args = TQStringList() ); ~KViewPresenterConfig(); virtual void load(); @@ -38,7 +38,7 @@ class KViewPresenterConfig : public KCModule void checkChanged(); private: - QCheckBox * m_pCheckBox; + TQCheckBox * m_pCheckBox; }; // vim:sw=4:ts=4 |