summaryrefslogtreecommitdiffstats
path: root/kcontrol/background/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/background/main.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/background/main.cpp')
-rw-r--r--kcontrol/background/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/background/main.cpp b/kcontrol/background/main.cpp
index 7bcd5649b..da77d7cda 100644
--- a/kcontrol/background/main.cpp
+++ b/kcontrol/background/main.cpp
@@ -15,7 +15,7 @@
* License. See the file "COPYING" for the exact licensing terms.
*/
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kapplication.h>
#include <kaboutdata.h>
#include <kconfig.h>
@@ -32,7 +32,7 @@
#include <X11/Xlib.h>
/**** DLL Interface ****/
-typedef KGenericFactory<KBackground, QWidget> KBackGndFactory;
+typedef KGenericFactory<KBackground, TQWidget> KBackGndFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_background, KBackGndFactory("kcmbackground"))
/**** KBackground ****/
@@ -41,20 +41,20 @@ KBackground::~KBackground( )
delete m_pConfig;
}
-KBackground::KBackground(QWidget *parent, const char *name, const QStringList &/* */)
+KBackground::KBackground(TQWidget *parent, const char *name, const TQStringList &/* */)
: KCModule(KBackGndFactory::instance(), parent, name)
{
int screen_number = 0;
if (qt_xdisplay())
screen_number = DefaultScreen(qt_xdisplay());
- QCString configname;
+ TQCString configname;
if (screen_number == 0)
configname = "kdesktoprc";
else
configname.sprintf("kdesktop-screen-%drc", screen_number);
m_pConfig = new KConfig(configname, false, false);
- QVBoxLayout *layout = new QVBoxLayout(this);
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
m_base = new BGDialog(this, m_pConfig);
setQuickHelp( m_base->quickHelp());
layout->add(m_base);
@@ -65,7 +65,7 @@ KBackground::KBackground(QWidget *parent, const char *name, const QStringList &/
// reparenting that is done.
setAcceptDrops(true);
- connect(m_base, SIGNAL(changed(bool)), SIGNAL(changed(bool)));
+ connect(m_base, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)));
KAboutData *about =
new KAboutData(I18N_NOOP("kcmbackground"), I18N_NOOP("KDE Background Control Module"),
@@ -107,7 +107,7 @@ void KBackground::save()
int screen_number = 0;
if (qt_xdisplay())
screen_number = DefaultScreen(qt_xdisplay());
- QCString appname;
+ TQCString appname;
if (screen_number == 0)
appname = "kdesktop";
else