summaryrefslogtreecommitdiffstats
path: root/lilo-config/qt/standalone.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /lilo-config/qt/standalone.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
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
Diffstat (limited to 'lilo-config/qt/standalone.cpp')
-rw-r--r--lilo-config/qt/standalone.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lilo-config/qt/standalone.cpp b/lilo-config/qt/standalone.cpp
index 4dc73e2..acab064 100644
--- a/lilo-config/qt/standalone.cpp
+++ b/lilo-config/qt/standalone.cpp
@@ -33,7 +33,7 @@
#include <ui.h>
#include "standalone.moc"
-Standalone::Standalone(TQWidget *parent, const char *name):TQWidget(parent,name)
+Standalone::Standalone(TQWidget *tqparent, const char *name):TQWidget(tqparent,name)
{
m=new MainWidget(this);
connect(m, TQT_SIGNAL(configChanged()), TQT_SLOT(configChanged()));
@@ -62,14 +62,14 @@ Standalone::Standalone(TQWidget *parent, const char *name):TQWidget(parent,name)
TQWhatsThis::add(_cancel, _("This button exits the program without saving your changes."));
connect(_cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(cancel()));
_apply->setEnabled(false);
- setMinimumWidth(actions->sizeHint().width()+10);
+ setMinimumWidth(actions->tqsizeHint().width()+10);
arrangeWidgets();
}
void Standalone::arrangeWidgets()
{
- m->setGeometry(SPACE_MARGIN, SPACE_MARGIN, width()-2*SPACE_MARGIN, height()-actions->sizeHint().height()-SPACE_MARGIN-SPACE_INSIDE);
- actions->setGeometry(SPACE_MARGIN, height()-actions->sizeHint().height()-SPACE_MARGIN, width()-2*SPACE_MARGIN, actions->sizeHint().height());
+ m->setGeometry(SPACE_MARGIN, SPACE_MARGIN, width()-2*SPACE_MARGIN, height()-actions->tqsizeHint().height()-SPACE_MARGIN-SPACE_INSIDE);
+ actions->setGeometry(SPACE_MARGIN, height()-actions->tqsizeHint().height()-SPACE_MARGIN, width()-2*SPACE_MARGIN, actions->tqsizeHint().height());
}
void Standalone::resizeEvent(TQResizeEvent *e)