diff options
Diffstat (limited to 'kresources/slox/kcalresourcesloxconfig.cpp')
-rw-r--r-- | kresources/slox/kcalresourcesloxconfig.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kresources/slox/kcalresourcesloxconfig.cpp b/kresources/slox/kcalresourcesloxconfig.cpp index 403a5e518..441ea5336 100644 --- a/kresources/slox/kcalresourcesloxconfig.cpp +++ b/kresources/slox/kcalresourcesloxconfig.cpp @@ -20,9 +20,9 @@ #include <typeinfo> -#include <qlabel.h> -#include <qlayout.h> -#include <qcheckbox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqcheckbox.h> #include <klocale.h> #include <kdebug.h> @@ -40,43 +40,43 @@ #include "kcalresourcesloxconfig.h" -KCalResourceSloxConfig::KCalResourceSloxConfig( QWidget* parent, const char* name ) : +KCalResourceSloxConfig::KCalResourceSloxConfig( TQWidget* parent, const char* name ) : KRES::ConfigWidget( parent, name ), mRes( 0 ) { resize( 245, 115 ); - QGridLayout *mainLayout = new QGridLayout( this, 6, 2, KDialog::spacingHint(), KDialog::spacingHint() ); + TQGridLayout *mainLayout = new TQGridLayout( this, 6, 2, KDialog::spacingHint(), KDialog::spacingHint() ); - QLabel *label = new QLabel( i18n( "Download from:" ), this ); + TQLabel *label = new TQLabel( i18n( "Download from:" ), this ); mDownloadUrl = new KURLRequester( this ); mDownloadUrl->setMode( KFile::File ); mainLayout->addWidget( label, 1, 0 ); mainLayout->addWidget( mDownloadUrl, 1, 1 ); - label = new QLabel( i18n("User:"), this ); + label = new TQLabel( i18n("User:"), this ); mainLayout->addWidget( label, 2, 0 ); mUserEdit = new KLineEdit( this ); mainLayout->addWidget( mUserEdit, 2, 1 ); - label = new QLabel( i18n("Password:"), this ); + label = new TQLabel( i18n("Password:"), this ); mainLayout->addWidget( label, 3, 0 ); mPasswordEdit = new KLineEdit( this ); mainLayout->addWidget( mPasswordEdit, 3, 1 ); mPasswordEdit->setEchoMode( KLineEdit::Password ); - mLastSyncCheck = new QCheckBox( i18n("Only load data since last sync"), + mLastSyncCheck = new TQCheckBox( i18n("Only load data since last sync"), this ); mainLayout->addMultiCellWidget( mLastSyncCheck, 4, 4, 0, 1 ); mCalButton = new KPushButton( i18n("Calendar Folder..."), this ); mainLayout->addWidget( mCalButton, 5, 0 ); - connect( mCalButton, SIGNAL( clicked() ), SLOT( selectCalendarFolder() ) ); + connect( mCalButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectCalendarFolder() ) ); mTaskButton = new KPushButton( i18n("Task Folder..."), this ); mainLayout->addWidget( mTaskButton, 5, 1 ); - connect( mTaskButton, SIGNAL( clicked() ), SLOT( selectTaskFolder() ) ); + connect( mTaskButton, TQT_SIGNAL( clicked() ), TQT_SLOT( selectTaskFolder() ) ); mReloadConfig = new KCal::ResourceCachedReloadConfig( this ); mainLayout->addMultiCellWidget( mReloadConfig, 6, 6, 0, 1 ); @@ -129,7 +129,7 @@ void KCalResourceSloxConfig::selectCalendarFolder() SloxFolderManager *manager = new SloxFolderManager( mRes, mDownloadUrl->url() ); SloxFolderDialog *dialog = new SloxFolderDialog( manager, ::Calendar, this ); dialog->setSelectedFolder( mCalendarFolderId ); - if ( dialog->exec() == QDialog::Accepted ) + if ( dialog->exec() == TQDialog::Accepted ) mCalendarFolderId = dialog->selectedFolder(); } @@ -138,7 +138,7 @@ void KCalResourceSloxConfig::selectTaskFolder( ) SloxFolderManager *manager = new SloxFolderManager( mRes, mDownloadUrl->url() ); SloxFolderDialog *dialog = new SloxFolderDialog( manager, Tasks, this ); dialog->setSelectedFolder( mTaskFolderId ); - if ( dialog->exec() == QDialog::Accepted ) + if ( dialog->exec() == TQDialog::Accepted ) mTaskFolderId = dialog->selectedFolder(); } |