From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kaddressbook/views/configuretableviewdialog.cpp | 44 ++++++++++++------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'kaddressbook/views/configuretableviewdialog.cpp') diff --git a/kaddressbook/views/configuretableviewdialog.cpp b/kaddressbook/views/configuretableviewdialog.cpp index d01c4d7d..c79ef524 100644 --- a/kaddressbook/views/configuretableviewdialog.cpp +++ b/kaddressbook/views/configuretableviewdialog.cpp @@ -21,13 +21,13 @@ without including the source code for Qt in the source distribution. */ -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -41,11 +41,11 @@ #include "configuretableviewdialog.h" ConfigureTableViewWidget::ConfigureTableViewWidget( KABC::AddressBook *ab, - QWidget *parent, + TQWidget *parent, const char *name ) : ViewConfigureWidget( ab, parent, name ) { - QWidget *page = addPage( i18n( "Look & Feel" ), QString::null, + TQWidget *page = addPage( i18n( "Look & Feel" ), TQString::null, KGlobal::iconLoader()->loadIcon( "looknfeel", KIcon::Panel ) ); @@ -72,8 +72,8 @@ void ConfigureTableViewWidget::saveSettings( KConfig *config ) -LookAndFeelPage::LookAndFeelPage(QWidget *parent, const char *name) - : QWidget(parent, name) +LookAndFeelPage::LookAndFeelPage(TQWidget *parent, const char *name) + : TQWidget(parent, name) { initGUI(); @@ -111,25 +111,25 @@ void LookAndFeelPage::saveSettings( KConfig *config ) void LookAndFeelPage::initGUI() { - QVBoxLayout *layout = new QVBoxLayout(this, 0, KDialogBase::spacingHint()); + TQVBoxLayout *layout = new TQVBoxLayout(this, 0, KDialogBase::spacingHint()); - QButtonGroup *group = new QButtonGroup(1, Qt::Horizontal, + TQButtonGroup *group = new TQButtonGroup(1, Qt::Horizontal, i18n("Row Separator"), this); layout->addWidget(group); - mAlternateButton = new QRadioButton(i18n("Alternating backgrounds"), + mAlternateButton = new TQRadioButton(i18n("Alternating backgrounds"), group, "mAlternateButton"); - mLineButton = new QRadioButton(i18n("Single line"), group, "mLineButton"); - mNoneButton = new QRadioButton(i18n("None"), group, "mNoneButton"); + mLineButton = new TQRadioButton(i18n("Single line"), group, "mLineButton"); + mNoneButton = new TQRadioButton(i18n("None"), group, "mNoneButton"); // Background Checkbox/Selector - QHBoxLayout *backgroundLayout = new QHBoxLayout(); + TQHBoxLayout *backgroundLayout = new TQHBoxLayout(); layout->addLayout(backgroundLayout); - mBackgroundBox = new QCheckBox(i18n("Enable background image:"), this, + mBackgroundBox = new TQCheckBox(i18n("Enable background image:"), this, "mBackgroundBox"); - connect(mBackgroundBox, SIGNAL(toggled(bool)), - SLOT(enableBackgroundToggled(bool))); + connect(mBackgroundBox, TQT_SIGNAL(toggled(bool)), + TQT_SLOT(enableBackgroundToggled(bool))); backgroundLayout->addWidget(mBackgroundBox); mBackgroundName = new KURLRequester(this, "mBackgroundName"); @@ -139,11 +139,11 @@ void LookAndFeelPage::initGUI() backgroundLayout->addWidget(mBackgroundName); // ToolTip Checkbox - mToolTipBox = new QCheckBox(i18n("Enable contact tooltips"), this, + mToolTipBox = new TQCheckBox(i18n("Enable contact tooltips"), this, "mToolTipBox"); layout->addWidget(mToolTipBox); #if KDE_IS_VERSION(3,2,90) - mIMPresenceBox = new QCheckBox( i18n( "Show instant messaging presence" ), this, "mIMPresenceBox" ); + mIMPresenceBox = new TQCheckBox( i18n( "Show instant messaging presence" ), this, "mIMPresenceBox" ); layout->addWidget( mIMPresenceBox ); #endif } -- cgit v1.2.3