From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/kdm/background.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kcontrol/kdm/background.cpp') diff --git a/kcontrol/kdm/background.cpp b/kcontrol/kdm/background.cpp index 19c962a1d..b5ce18ff5 100644 --- a/kcontrol/kdm/background.cpp +++ b/kcontrol/kdm/background.cpp @@ -23,9 +23,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include @@ -33,19 +33,19 @@ #include "../background/bgsettings.h" #include "../background/bgdialog.h" #include "background.h" -#include +#include #include #include extern KSimpleConfig *config; -KBackground::KBackground(QWidget *parent, const char *name) - : QWidget(parent, name) +KBackground::KBackground(TQWidget *parent, const char *name) + : TQWidget(parent, name) { // Enabling checkbox - m_pCBEnable = new QCheckBox( i18n("E&nable background"), this ); - QWhatsThis::add( m_pCBEnable, + m_pCBEnable = new TQCheckBox( i18n("E&nable background"), this ); + TQWhatsThis::add( m_pCBEnable, i18n("If this is checked, KDM will use the settings below for the background." " If it is disabled, you have to look after the background yourself." " This is done by running some program (possibly xsetroot) in the script" @@ -54,14 +54,14 @@ KBackground::KBackground(QWidget *parent, const char *name) m_simpleConf=new KSimpleConfig(config->readEntry( "BackgroundCfg",KDE_CONFDIR "/kdm/backgroundrc" ) ); m_background = new BGDialog( this, m_simpleConf, false ); - connect(m_background, SIGNAL(changed(bool)), SIGNAL(changed(bool))); + connect(m_background, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); // Top layout - QVBoxLayout *top = new QVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint() ); + TQVBoxLayout *top = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint() ); top->addWidget(m_pCBEnable); top->addWidget(m_background); top->addStretch(); - connect( m_pCBEnable, SIGNAL(toggled( bool )), SLOT(slotEnableChanged()) ); + connect( m_pCBEnable, TQT_SIGNAL(toggled( bool )), TQT_SLOT(slotEnableChanged()) ); } KBackground::~KBackground() -- cgit v1.2.1