diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp')
-rw-r--r-- | kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp b/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp index a910a4f60..47d62d376 100644 --- a/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp +++ b/kresources/tvanytime/kcal_resourcetvanytimeconfig.cpp @@ -20,10 +20,10 @@ #include <typeinfo> -#include <qlabel.h> -#include <qlayout.h> -#include <qspinbox.h> -#include <qwhatsthis.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqspinbox.h> +#include <tqwhatsthis.h> #include <kconfigskeleton.h> #include <klocale.h> @@ -40,19 +40,19 @@ using namespace KCal; -ResourceTVAnytimeConfig::ResourceTVAnytimeConfig( QWidget* parent, const char* name ) +ResourceTVAnytimeConfig::ResourceTVAnytimeConfig( TQWidget* parent, const char* name ) : KRES::ConfigWidget( parent, name ) { resize( 245, 115 ); - QGridLayout *mainLayout = new QGridLayout( this, 2, 2 ); + TQGridLayout *mainLayout = new TQGridLayout( this, 2, 2 ); - QLabel *label = new QLabel( i18n( "Schedule tarball URL:" ), this ); + TQLabel *label = new TQLabel( i18n( "Schedule tarball URL:" ), this ); mainLayout->addWidget( label, 1, 0 ); mUrl = new KLineEdit( this ); mainLayout->addWidget( mUrl, 1, 1 ); - label = new QLabel( i18n( "Retrieve how many days?" ), this ); + label = new TQLabel( i18n( "Retrieve how many days?" ), this ); mainLayout->addWidget( label, 2, 0 ); - mDays = new QSpinBox( this ); + mDays = new TQSpinBox( this ); mainLayout->addWidget( mDays, 2, 1 ); mReloadConfig = new KCal::ResourceCachedReloadConfig( this ); mainLayout->addMultiCellWidget( mReloadConfig, 3, 3, 0, 1 ); @@ -73,7 +73,7 @@ void ResourceTVAnytimeConfig::loadSettings( KRES::Resource *resource ) KConfigSkeleton::ItemInt * daysItem = res->prefs()->daysItem(); mDays->setMinValue( daysItem->minValue().toInt() ); mDays->setMaxValue( daysItem->maxValue().toInt() ); - QWhatsThis::add( mDays, daysItem->whatsThis() ); + TQWhatsThis::add( mDays, daysItem->whatsThis() ); mUrl->setText( res->prefs()->url() ); mDays->setValue( res->prefs()->days() ); mReloadConfig->loadSettings( res ); |