diff options
Diffstat (limited to 'kpilot/conduits/abbrowserconduit/abbrowser-setup.cc')
-rw-r--r-- | kpilot/conduits/abbrowserconduit/abbrowser-setup.cc | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kpilot/conduits/abbrowserconduit/abbrowser-setup.cc b/kpilot/conduits/abbrowserconduit/abbrowser-setup.cc index 4a2aa4215..f4d80d2ce 100644 --- a/kpilot/conduits/abbrowserconduit/abbrowser-setup.cc +++ b/kpilot/conduits/abbrowserconduit/abbrowser-setup.cc @@ -29,9 +29,9 @@ #include "options.h" -#include <qcheckbox.h> -#include <qcombobox.h> -#include <qbuttongroup.h> +#include <tqcheckbox.h> +#include <tqcombobox.h> +#include <tqbuttongroup.h> #include <kurlrequester.h> #include <kaboutdata.h> @@ -62,7 +62,7 @@ static KAboutData *createAbout() return fAbout; } -AbbrowserWidgetSetup::AbbrowserWidgetSetup(QWidget *w, const char *n) : +AbbrowserWidgetSetup::AbbrowserWidgetSetup(TQWidget *w, const char *n) : ConduitConfigBase(w,n), fConfigWidget(new AbbrowserWidget(w)) { @@ -73,20 +73,20 @@ AbbrowserWidgetSetup::AbbrowserWidgetSetup(QWidget *w, const char *n) : ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout); fWidget=fConfigWidget; fConfigWidget->fAbookFile->setMode(KFile::File); -#define CM(a,b) connect(fConfigWidget->a,b,this,SLOT(modified())); - CM(fSyncDestination,SIGNAL(clicked(int))); - CM(fAbookFile,SIGNAL(textChanged(const QString &))); - CM(fArchive,SIGNAL(toggled(bool))); - CM(fConflictResolution,SIGNAL(activated(int))); - CM(fOtherPhone,SIGNAL(activated(int))); - CM(fAddress,SIGNAL(activated(int))); - CM(fFax,SIGNAL(activated(int))); - CM(fCustom0,SIGNAL(activated(int))); - CM(fCustom1,SIGNAL(activated(int))); - CM(fCustom2,SIGNAL(activated(int))); - CM(fCustom3,SIGNAL(activated(int))); - CM(fCustomDate, SIGNAL(activated(int))); - CM(fCustomDate, SIGNAL(textChanged(const QString&))); +#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified())); + CM(fSyncDestination,TQT_SIGNAL(clicked(int))); + CM(fAbookFile,TQT_SIGNAL(textChanged(const TQString &))); + CM(fArchive,TQT_SIGNAL(toggled(bool))); + CM(fConflictResolution,TQT_SIGNAL(activated(int))); + CM(fOtherPhone,TQT_SIGNAL(activated(int))); + CM(fAddress,TQT_SIGNAL(activated(int))); + CM(fFax,TQT_SIGNAL(activated(int))); + CM(fCustom0,TQT_SIGNAL(activated(int))); + CM(fCustom1,TQT_SIGNAL(activated(int))); + CM(fCustom2,TQT_SIGNAL(activated(int))); + CM(fCustom3,TQT_SIGNAL(activated(int))); + CM(fCustomDate, TQT_SIGNAL(activated(int))); + CM(fCustomDate, TQT_SIGNAL(textChanged(const TQString&))); #undef CM } @@ -99,7 +99,7 @@ AbbrowserWidgetSetup::~AbbrowserWidgetSetup() { FUNCTIONSETUP; - QButtonGroup*grp=fConfigWidget->fSyncDestination; + TQButtonGroup*grp=fConfigWidget->fSyncDestination; AbbrowserSettings::setAddressbookType(grp->id(grp->selected())); AbbrowserSettings::setFileName(fConfigWidget->fAbookFile->url()); AbbrowserSettings::setArchiveDeleted(fConfigWidget->fArchive->isChecked()); @@ -132,7 +132,7 @@ AbbrowserWidgetSetup::~AbbrowserWidgetSetup() #endif int fmtindex=fConfigWidget->fCustomDate->currentItem(); AbbrowserSettings::setCustomDateFormat( - (fmtindex==0)?(QString::null):fConfigWidget->fCustomDate->currentText() ); + (fmtindex==0)?(TQString::null):fConfigWidget->fCustomDate->currentText() ); AbbrowserSettings::self()->writeConfig(); unmodified(); @@ -175,7 +175,7 @@ AbbrowserWidgetSetup::~AbbrowserWidgetSetup() fConfigWidget->fCustom1->setCurrentItem(AbbrowserSettings::custom1()); fConfigWidget->fCustom2->setCurrentItem(AbbrowserSettings::custom2()); fConfigWidget->fCustom3->setCurrentItem(AbbrowserSettings::custom3()); - QString datefmt=AbbrowserSettings::customDateFormat(); + TQString datefmt=AbbrowserSettings::customDateFormat(); if (datefmt.isEmpty()) { fConfigWidget->fCustomDate->setCurrentItem(0); @@ -188,7 +188,7 @@ AbbrowserWidgetSetup::~AbbrowserWidgetSetup() unmodified(); } -/* static */ ConduitConfigBase *AbbrowserWidgetSetup::create(QWidget *w, const char *n) +/* static */ ConduitConfigBase *AbbrowserWidgetSetup::create(TQWidget *w, const char *n) { return new AbbrowserWidgetSetup(w,n); } |