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 /kandy/src/kandyprefsdialog.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 'kandy/src/kandyprefsdialog.cpp')
-rw-r--r-- | kandy/src/kandyprefsdialog.cpp | 150 |
1 files changed, 75 insertions, 75 deletions
diff --git a/kandy/src/kandyprefsdialog.cpp b/kandy/src/kandyprefsdialog.cpp index d25688ff9..d98989dc2 100644 --- a/kandy/src/kandyprefsdialog.cpp +++ b/kandy/src/kandyprefsdialog.cpp @@ -22,20 +22,20 @@ without including the source code for Qt in the source distribution. */ -#include <qlayout.h> -#include <qlabel.h> -#include <qgroupbox.h> -#include <qbuttongroup.h> -#include <qlineedit.h> -#include <qfont.h> -#include <qslider.h> -#include <qfile.h> -#include <qtextstream.h> -#include <qcombobox.h> -#include <qvbox.h> -#include <qhbox.h> -#include <qspinbox.h> -#include <qdatetime.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqgroupbox.h> +#include <tqbuttongroup.h> +#include <tqlineedit.h> +#include <tqfont.h> +#include <tqslider.h> +#include <tqfile.h> +#include <tqtextstream.h> +#include <tqcombobox.h> +#include <tqvbox.h> +#include <tqhbox.h> +#include <tqspinbox.h> +#include <tqdatetime.h> #include <kapplication.h> #include <kdebug.h> @@ -54,7 +54,7 @@ #include "kandyprefsdialog.moc" -KandyPrefsDialog::KandyPrefsDialog(QWidget *parent, char *name, bool modal) : +KandyPrefsDialog::KandyPrefsDialog(TQWidget *parent, char *name, bool modal) : KPrefsDialog(KandyPrefs::self(),parent,name,modal) { setupSerialTab(); @@ -74,10 +74,10 @@ KandyPrefsDialog::~KandyPrefsDialog() void KandyPrefsDialog::setupSerialTab() { - QFrame *topFrame = addPage(i18n("Serial Interface"),0, + TQFrame *topFrame = addPage(i18n("Serial Interface"),0, DesktopIcon("connect_no",KIcon::SizeMedium)); - QGridLayout *topLayout = new QGridLayout(topFrame,6,2); + TQGridLayout *topLayout = new TQGridLayout(topFrame,6,2); topLayout->setSpacing(spacingHint()); topLayout->setMargin(marginHint()); @@ -113,10 +113,10 @@ void KandyPrefsDialog::setupSerialTab() void KandyPrefsDialog::setupAddressbookTab() { - QFrame *topFrame = addPage(i18n("Address Book"), 0, + TQFrame *topFrame = addPage(i18n("Address Book"), 0, DesktopIcon("kaddressbook", KIcon::SizeMedium)); - QGridLayout *topLayout = new QGridLayout(topFrame, 13, 4); + TQGridLayout *topLayout = new TQGridLayout(topFrame, 13, 4); topLayout->setSpacing(spacingHint()); topLayout->setMargin(marginHint()); @@ -292,68 +292,68 @@ void KandyPrefsDialog::setupAddressbookTab() } - connect( useHomeSuff->checkBox(), SIGNAL(toggled(bool)), - HomeSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useHomeSuff->checkBox(), SIGNAL(toggled(bool)), - HomeSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useWorkSuff->checkBox(), SIGNAL(toggled(bool)), - WorkSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useWorkSuff->checkBox(), SIGNAL(toggled(bool)), - WorkSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useMessagingSuff->checkBox(), SIGNAL(toggled(bool)), - MessagingSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useMessagingSuff->checkBox(), SIGNAL(toggled(bool)), - MessagingSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useFaxSuff->checkBox(), SIGNAL(toggled(bool)), - FaxSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useFaxSuff->checkBox(), SIGNAL(toggled(bool)), - FaxSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useCellSuff->checkBox(), SIGNAL(toggled(bool)), - CellSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useCellSuff->checkBox(), SIGNAL(toggled(bool)), - CellSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useVideoSuff->checkBox(), SIGNAL(toggled(bool)), - VideoSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useVideoSuff->checkBox(), SIGNAL(toggled(bool)), - VideoSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useMailboxSuff->checkBox(), SIGNAL(toggled(bool)), - MailboxSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useMailboxSuff->checkBox(), SIGNAL(toggled(bool)), - MailboxSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useModemSuff->checkBox(), SIGNAL(toggled(bool)), - ModemSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useModemSuff->checkBox(), SIGNAL(toggled(bool)), - ModemSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useCarSuff->checkBox(), SIGNAL(toggled(bool)), - CarSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useCarSuff->checkBox(), SIGNAL(toggled(bool)), - CarSuff->label(), SLOT(setEnabled(bool)) ); - - connect( useISDNSuff->checkBox(), SIGNAL(toggled(bool)), - ISDNSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( useISDNSuff->checkBox(), SIGNAL(toggled(bool)), - ISDNSuff->label(), SLOT(setEnabled(bool)) ); - - connect( usePagerSuff->checkBox(), SIGNAL(toggled(bool)), - PagerSuff->lineEdit(), SLOT(setEnabled(bool)) ); - connect( usePagerSuff->checkBox(), SIGNAL(toggled(bool)), - PagerSuff->label(), SLOT(setEnabled(bool)) ); + connect( useHomeSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + HomeSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useHomeSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + HomeSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useWorkSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + WorkSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useWorkSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + WorkSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useMessagingSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + MessagingSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useMessagingSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + MessagingSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useFaxSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + FaxSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useFaxSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + FaxSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useCellSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + CellSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useCellSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + CellSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useVideoSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + VideoSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useVideoSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + VideoSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useMailboxSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + MailboxSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useMailboxSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + MailboxSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useModemSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + ModemSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useModemSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + ModemSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useCarSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + CarSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useCarSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + CarSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( useISDNSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + ISDNSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( useISDNSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + ISDNSuff->label(), TQT_SLOT(setEnabled(bool)) ); + + connect( usePagerSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + PagerSuff->lineEdit(), TQT_SLOT(setEnabled(bool)) ); + connect( usePagerSuff->checkBox(), TQT_SIGNAL(toggled(bool)), + PagerSuff->label(), TQT_SLOT(setEnabled(bool)) ); } void KandyPrefsDialog::setupWindowsTab() { - QFrame *topFrame = addPage(i18n("Windows"),0, + TQFrame *topFrame = addPage(i18n("Windows"),0, DesktopIcon("window_list",KIcon::SizeMedium)); - QGridLayout *topLayout = new QGridLayout(topFrame,6,2); + TQGridLayout *topLayout = new TQGridLayout(topFrame,6,2); topLayout->setSpacing(spacingHint()); topLayout->setMargin(marginHint()); |