From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kppp/pwentry.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kppp/pwentry.cpp') diff --git a/kppp/pwentry.cpp b/kppp/pwentry.cpp index 5e6397a5..e6cbea58 100644 --- a/kppp/pwentry.cpp +++ b/kppp/pwentry.cpp @@ -30,26 +30,26 @@ #include #include "pwentry.h" -PWEntry::PWEntry( TQWidget *parent, const char *name ) +PWEntry::PWEntry( TQWidget *tqparent, const char *name ) : TQWidget(NULL, name) { - if(parent){ + if(tqparent){ TQPoint point = mapToGlobal (TQPoint (0,0)); - TQRect pos = geometry(); + TQRect pos = tqgeometry(); setGeometry(point.x() + pos.width()/2 - 300/2, point.y() + pos.height()/2 - 90/2, 300, 90); } else { - TQRect desk = KGlobalSettings::desktopGeometry(parent); + TQRect desk = KGlobalSettings::desktopGeometry(tqparent); setGeometry( desk.center().x() - 150, desk.center().y() - 50, 300, 90 ); } frame = new TQGroupBox(name, this ); - setFocusPolicy( TQWidget::StrongFocus ); + setFocusPolicy( TQ_StrongFocus ); pw = new TQLineEdit( this, "le" ); pw->setEchoMode( TQLineEdit::Password ); -- cgit v1.2.1