From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslave/home/kdedmodule/homedirnotify.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kioslave/home/kdedmodule/homedirnotify.cpp') diff --git a/kioslave/home/kdedmodule/homedirnotify.cpp b/kioslave/home/kdedmodule/homedirnotify.cpp index e4eab44bb..823027fe2 100644 --- a/kioslave/home/kdedmodule/homedirnotify.cpp +++ b/kioslave/home/kdedmodule/homedirnotify.cpp @@ -37,18 +37,18 @@ void HomeDirNotify::init() mInited = true; KUser current_user; - QValueList groups = current_user.groups(); - QValueList uid_list; + TQValueList groups = current_user.groups(); + TQValueList uid_list; - QValueList::iterator groups_it = groups.begin(); - QValueList::iterator groups_end = groups.end(); + TQValueList::iterator groups_it = groups.begin(); + TQValueList::iterator groups_end = groups.end(); for(; groups_it!=groups_end; ++groups_it) { - QValueList users = (*groups_it).users(); + TQValueList users = (*groups_it).users(); - QValueList::iterator it = users.begin(); - QValueList::iterator users_end = users.end(); + TQValueList::iterator it = users.begin(); + TQValueList::iterator users_end = users.end(); for(; it!=users_end; ++it) { @@ -57,7 +57,7 @@ void HomeDirNotify::init() { uid_list.append( (*it).uid() ); - QString name = (*it).loginName(); + TQString name = (*it).loginName(); KURL url; url.setPath( (*it).homeDir() ); @@ -72,17 +72,17 @@ KURL HomeDirNotify::toHomeURL(const KURL &url) kdDebug() << "HomeDirNotify::toHomeURL(" << url << ")" << endl; init(); - QMap::iterator it = m_homeFoldersMap.begin(); - QMap::iterator end = m_homeFoldersMap.end(); + TQMap::iterator it = m_homeFoldersMap.begin(); + TQMap::iterator end = m_homeFoldersMap.end(); for (; it!=end; ++it) { - QString name = it.key(); + TQString name = it.key(); KURL base = it.data(); if ( base.isParentOf(url) ) { - QString path = KURL::relativePath(base.path(), + TQString path = KURL::relativePath(base.path(), url.path()); KURL result("home:/"+name+"/"+path); result.cleanPath(); -- cgit v1.2.1