diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
commit | b09bffed6b43262948018dfb0f11890850ddf7c1 (patch) | |
tree | 138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kuser/selectconn.cpp | |
parent | 6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff) | |
download | tdeadmin-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 'kuser/selectconn.cpp')
-rw-r--r-- | kuser/selectconn.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kuser/selectconn.cpp b/kuser/selectconn.cpp index 138c9ce..d661fb1 100644 --- a/kuser/selectconn.cpp +++ b/kuser/selectconn.cpp @@ -33,8 +33,8 @@ #include "selectconn.h" #include "editDefaults.h" -SelectConn::SelectConn(const TQString &selected, TQWidget* parent, const char * name) : - KDialogBase( Plain, WStyle_DialogBorder, parent, name, true, +SelectConn::SelectConn(const TQString &selected, TQWidget* tqparent, const char * name) : + KDialogBase( Plain, WStyle_DialogBorder, tqparent, name, true, i18n("Connection Selection"), Ok | Apply | Cancel | User1 | User2 | User3 ) { TQStringList conns; @@ -77,10 +77,10 @@ TQString SelectConn::connSelected() void SelectConn::slotUser3() { - newconn = KInputDialog::getText( TQString::null, + newconn = KInputDialog::getText( TQString(), i18n("Please type the name of the new connection:") ); if ( newconn.isEmpty() ) return; - if ( kapp->sharedConfig()->groupList().contains( "connection-" + newconn ) ) { + if ( kapp->sharedConfig()->groupList().tqcontains( "connection-" + newconn ) ) { KMessageBox::sorry( 0, i18n("A connection with this name already exists.") ); return; } |