From cfc42a28c327b96c6a2afee92af3bac1a479eb8a Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:49:52 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kweather/kcmweatherservice.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kweather/kcmweatherservice.cpp') diff --git a/kweather/kcmweatherservice.cpp b/kweather/kcmweatherservice.cpp index ee7fb0f..16bd80a 100644 --- a/kweather/kcmweatherservice.cpp +++ b/kweather/kcmweatherservice.cpp @@ -21,7 +21,7 @@ without including the source code for Qt in the source distribution. */ -#include +#include #include #include @@ -33,19 +33,19 @@ extern "C" { - KDE_EXPORT KCModule *create_weatherservice( QWidget *parent, const char * ) { + KDE_EXPORT KCModule *create_weatherservice( TQWidget *parent, const char * ) { return new KCMWeatherService( parent, "kweather" ); } } -KCMWeatherService::KCMWeatherService( QWidget *parent, const char *name ) +KCMWeatherService::KCMWeatherService( TQWidget *parent, const char *name ) : KCModule( parent, name ) { - QVBoxLayout *layout = new QVBoxLayout( this ); + TQVBoxLayout *layout = new TQVBoxLayout( this ); mWidget = new ServiceConfigWidget( this ); // not needed, as a change immediately changes the service - //connect(mWidget, SIGNAL(changed(bool)), this, SIGNAL(changed(bool))); + //connect(mWidget, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool))); layout->addWidget( mWidget ); KAboutData *about = new KAboutData( "kcmweatherservice", -- cgit v1.2.1