diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:23:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 17:53:57 +0900 |
commit | 0bfe293635aacc850731080cbda642a0b94baf94 (patch) | |
tree | bc77925f966255c5f66a069e63266828a168b296 /kcontrol/tdm | |
parent | b5a1d6eca507ade6d0a22fabdb7f318cbd58f1a4 (diff) | |
download | tdebase-0bfe293635aacc850731080cbda642a0b94baf94.tar.gz tdebase-0bfe293635aacc850731080cbda642a0b94baf94.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
Diffstat (limited to 'kcontrol/tdm')
-rw-r--r-- | kcontrol/tdm/main.cpp | 8 | ||||
-rw-r--r-- | kcontrol/tdm/main.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/tdm/main.cpp b/kcontrol/tdm/main.cpp index 2a5f72895..be0ee58a7 100644 --- a/kcontrol/tdm/main.cpp +++ b/kcontrol/tdm/main.cpp @@ -127,13 +127,13 @@ TDModule::TDModule(TQWidget *parent, const char *name, const TQStringList &) TQMap<gid_t,TQStringList> tgmap; TQMap<gid_t,TQStringList>::Iterator tgmapi; TQMap<gid_t,TQStringList>::ConstIterator tgmapci; - TQMap<TQString, QPair<int,TQStringList> >::Iterator umapi; + TQMap<TQString, TQPair<int,TQStringList> >::Iterator umapi; struct passwd *ps; for (setpwent(); (ps = getpwent()); ) { TQString un( TQFile::decodeName( ps->pw_name ) ); if (usermap.find( un ) == usermap.end()) { - usermap.insert( un, QPair<int,TQStringList>( ps->pw_uid, sl ) ); + usermap.insert( un, TQPair<int,TQStringList>( ps->pw_uid, sl ) ); if ((tgmapi = tgmap.find( ps->pw_gid )) != tgmap.end()) (*tgmapi).append( un ); else @@ -298,7 +298,7 @@ void TDModule::propagateUsers() groupmap.clear(); emit clearUsers(); TQMap<TQString,int> lusers; - TQMapConstIterator<TQString, QPair<int,TQStringList> > it; + TQMapConstIterator<TQString, TQPair<int,TQStringList> > it; TQStringList::ConstIterator jt; TQMap<TQString,int>::Iterator gmapi; for (it = usermap.begin(); it != usermap.end(); ++it) { @@ -321,7 +321,7 @@ void TDModule::slotMinMaxUID(int min, int max) { if (updateOK) { TQMap<TQString,int> alusers, dlusers; - TQMapConstIterator<TQString, QPair<int,TQStringList> > it; + TQMapConstIterator<TQString, TQPair<int,TQStringList> > it; TQStringList::ConstIterator jt; TQMap<TQString,int>::Iterator gmapi; for (it = usermap.begin(); it != usermap.end(); ++it) { diff --git a/kcontrol/tdm/main.h b/kcontrol/tdm/main.h index c2ee65526..4274e8323 100644 --- a/kcontrol/tdm/main.h +++ b/kcontrol/tdm/main.h @@ -71,7 +71,7 @@ private: TDMUsersWidget *users; TDMConvenienceWidget *convenience; - TQMap<TQString, QPair<int,TQStringList> > usermap; + TQMap<TQString, TQPair<int,TQStringList> > usermap; TQMap<TQString,int> groupmap; int minshowuid, maxshowuid; bool updateOK; |