From 0bfe293635aacc850731080cbda642a0b94baf94 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:23:23 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec) --- kcontrol/tdm/main.cpp | 8 ++++---- kcontrol/tdm/main.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol/tdm') 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 tgmap; TQMap::Iterator tgmapi; TQMap::ConstIterator tgmapci; - TQMap >::Iterator umapi; + TQMap >::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( ps->pw_uid, sl ) ); + usermap.insert( un, TQPair( 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 lusers; - TQMapConstIterator > it; + TQMapConstIterator > it; TQStringList::ConstIterator jt; TQMap::Iterator gmapi; for (it = usermap.begin(); it != usermap.end(); ++it) { @@ -321,7 +321,7 @@ void TDModule::slotMinMaxUID(int min, int max) { if (updateOK) { TQMap alusers, dlusers; - TQMapConstIterator > it; + TQMapConstIterator > it; TQStringList::ConstIterator jt; TQMap::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 > usermap; + TQMap > usermap; TQMap groupmap; int minshowuid, maxshowuid; bool updateOK; -- cgit v1.2.1