From b09bffed6b43262948018dfb0f11890850ddf7c1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 20:34:22 +0000 Subject: TQt4 port kdeadmin This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lilo-config/kde/kcontrol.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lilo-config/kde/kcontrol.cpp') diff --git a/lilo-config/kde/kcontrol.cpp b/lilo-config/kde/kcontrol.cpp index 846edc8..dbf2f40 100644 --- a/lilo-config/kde/kcontrol.cpp +++ b/lilo-config/kde/kcontrol.cpp @@ -35,12 +35,12 @@ #include #include -KControl::KControl(TQWidget *parent, const char *name) - : KCModule(parent, name) +KControl::KControl(TQWidget *tqparent, const char *name) + : KCModule(tqparent, name) { - TQVBoxLayout *layout=new TQVBoxLayout(this); + TQVBoxLayout *tqlayout=new TQVBoxLayout(this); m=new MainWidget(this, name); - layout->addWidget(m); + tqlayout->addWidget(m); connect(m, TQT_SIGNAL(configChanged()), TQT_SLOT(configChanged())); if (getuid() != 0) { m->makeReadOnly(); @@ -79,9 +79,9 @@ void KControl::configChanged() // SLOT extern "C" { - KDE_EXPORT KCModule *create_lilo(TQWidget *parent, const char *name) + KDE_EXPORT KCModule *create_lilo(TQWidget *tqparent, const char *name) { - return new KControl(parent, "kcmlilo"); + return new KControl(tqparent, "kcmlilo"); } } -- cgit v1.2.1