summaryrefslogtreecommitdiffstats
path: root/kioslave/home/kdedmodule
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/home/kdedmodule
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/home/kdedmodule')
-rw-r--r--kioslave/home/kdedmodule/homedirnotify.cpp24
-rw-r--r--kioslave/home/kdedmodule/homedirnotify.h4
-rw-r--r--kioslave/home/kdedmodule/homedirnotifymodule.cpp4
-rw-r--r--kioslave/home/kdedmodule/homedirnotifymodule.h2
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;
};