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/sid.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/sid.cpp')
-rw-r--r-- | kuser/sid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kuser/sid.cpp b/kuser/sid.cpp index 01cdf0e..5608129 100644 --- a/kuser/sid.cpp +++ b/kuser/sid.cpp @@ -30,7 +30,7 @@ uint SID::mAlgRidBase = 1000; SID::SID() { - mRid = 0; mSid = TQString::null; mDom = TQString::null; + mRid = 0; mSid = TQString(); mDom = TQString(); } SID::SID( const SID &sid ) @@ -74,7 +74,7 @@ bool SID::isEmpty() const void SID::updateSID() { - mSid = mDom + TQString::fromLatin1("-") + TQString::number( mRid ); + mSid = mDom + TQString::tqfromLatin1("-") + TQString::number( mRid ); } void SID::setSID( const TQString &sid ) @@ -83,7 +83,7 @@ void SID::setSID( const TQString &sid ) TQString rid; mSid = sid; - pos = sid.findRev( '-' ); + pos = sid.tqfindRev( '-' ); mDom = sid.left( pos ); rid = sid.right( sid.length() - pos - 1 ); mRid = rid.toUInt(); |