diff options
Diffstat (limited to 'kioslave/home/kdedmodule')
-rw-r--r-- | kioslave/home/kdedmodule/homedirnotify.cpp | 24 | ||||
-rw-r--r-- | kioslave/home/kdedmodule/homedirnotify.h | 4 | ||||
-rw-r--r-- | kioslave/home/kdedmodule/homedirnotifymodule.cpp | 4 | ||||
-rw-r--r-- | kioslave/home/kdedmodule/homedirnotifymodule.h | 2 |
4 files changed, 17 insertions, 17 deletions
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<KUserGroup> groups = current_user.groups(); - QValueList<int> uid_list; + TQValueList<KUserGroup> groups = current_user.groups(); + TQValueList<int> uid_list; - QValueList<KUserGroup>::iterator groups_it = groups.begin(); - QValueList<KUserGroup>::iterator groups_end = groups.end(); + TQValueList<KUserGroup>::iterator groups_it = groups.begin(); + TQValueList<KUserGroup>::iterator groups_end = groups.end(); for(; groups_it!=groups_end; ++groups_it) { - QValueList<KUser> users = (*groups_it).users(); + TQValueList<KUser> users = (*groups_it).users(); - QValueList<KUser>::iterator it = users.begin(); - QValueList<KUser>::iterator users_end = users.end(); + TQValueList<KUser>::iterator it = users.begin(); + TQValueList<KUser>::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<QString,KURL>::iterator it = m_homeFoldersMap.begin(); - QMap<QString,KURL>::iterator end = m_homeFoldersMap.end(); + TQMap<TQString,KURL>::iterator it = m_homeFoldersMap.begin(); + TQMap<TQString,KURL>::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(); diff --git a/kioslave/home/kdedmodule/homedirnotify.h b/kioslave/home/kdedmodule/homedirnotify.h index 14655a1cd..dbbd0845e 100644 --- a/kioslave/home/kdedmodule/homedirnotify.h +++ b/kioslave/home/kdedmodule/homedirnotify.h @@ -22,7 +22,7 @@ #include <kurl.h> #include <kdirnotify.h> -#include <qmap.h> +#include <tqmap.h> class HomeDirNotify : public KDirNotify { @@ -41,7 +41,7 @@ private: KURL toHomeURL(const KURL &url); KURL::List toHomeURLList(const KURL::List &list); - QMap<QString,KURL> m_homeFoldersMap; + TQMap<TQString,KURL> m_homeFoldersMap; bool mInited; }; diff --git a/kioslave/home/kdedmodule/homedirnotifymodule.cpp b/kioslave/home/kdedmodule/homedirnotifymodule.cpp index 1b91ccc31..03f664117 100644 --- a/kioslave/home/kdedmodule/homedirnotifymodule.cpp +++ b/kioslave/home/kdedmodule/homedirnotifymodule.cpp @@ -22,13 +22,13 @@ #include <klocale.h> #include <kglobal.h> -HomeDirNotifyModule::HomeDirNotifyModule(const QCString &obj) +HomeDirNotifyModule::HomeDirNotifyModule(const TQCString &obj) : KDEDModule(obj) { } extern "C" { - KDE_EXPORT KDEDModule *create_homedirnotify(const QCString &obj) + KDE_EXPORT KDEDModule *create_homedirnotify(const TQCString &obj) { KGlobal::locale()->insertCatalogue("kio_home"); return new HomeDirNotifyModule(obj); diff --git a/kioslave/home/kdedmodule/homedirnotifymodule.h b/kioslave/home/kdedmodule/homedirnotifymodule.h index 159670fb6..69d96dfc9 100644 --- a/kioslave/home/kdedmodule/homedirnotifymodule.h +++ b/kioslave/home/kdedmodule/homedirnotifymodule.h @@ -28,7 +28,7 @@ class HomeDirNotifyModule : public KDEDModule K_DCOP public: - HomeDirNotifyModule(const QCString &obj); + HomeDirNotifyModule(const TQCString &obj); private: HomeDirNotify notifier; }; |