summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views/configuretableviewdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/views/configuretableviewdialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'kaddressbook/views/configuretableviewdialog.cpp')
-rw-r--r--kaddressbook/views/configuretableviewdialog.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kaddressbook/views/configuretableviewdialog.cpp b/kaddressbook/views/configuretableviewdialog.cpp
index d01c4d7df..c79ef5244 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 <qstring.h>
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qvbox.h>
-#include <qbuttongroup.h>
+#include <tqstring.h>
+#include <tqwidget.h>
+#include <tqlayout.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqvbox.h>
+#include <tqbuttongroup.h>
#include <kdeversion.h>
#include <kglobal.h>
@@ -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
}