diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/remote/kdedmodule | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/remote/kdedmodule')
-rw-r--r-- | kioslave/remote/kdedmodule/remotedirnotify.cpp | 6 | ||||
-rw-r--r-- | kioslave/remote/kdedmodule/remotedirnotifymodule.cpp | 4 | ||||
-rw-r--r-- | kioslave/remote/kdedmodule/remotedirnotifymodule.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kioslave/remote/kdedmodule/remotedirnotify.cpp b/kioslave/remote/kdedmodule/remotedirnotify.cpp index 88933e29a..e6e2359a6 100644 --- a/kioslave/remote/kdedmodule/remotedirnotify.cpp +++ b/kioslave/remote/kdedmodule/remotedirnotify.cpp @@ -26,14 +26,14 @@ #include <kdirnotify_stub.h> -#include <qdir.h> +#include <tqdir.h> RemoteDirNotify::RemoteDirNotify() { KGlobal::dirs()->addResourceType("remote_entries", KStandardDirs::kde_default("data") + "remoteview"); - QString path = KGlobal::dirs()->saveLocation("remote_entries"); + TQString path = KGlobal::dirs()->saveLocation("remote_entries"); m_baseURL.setPath(path); } @@ -42,7 +42,7 @@ KURL RemoteDirNotify::toRemoteURL(const KURL &url) kdDebug(1220) << "RemoteDirNotify::toRemoteURL(" << url << ")" << endl; if ( m_baseURL.isParentOf(url) ) { - QString path = KURL::relativePath(m_baseURL.path(), + TQString path = KURL::relativePath(m_baseURL.path(), url.path()); KURL result("remote:/"+path); result.cleanPath(); diff --git a/kioslave/remote/kdedmodule/remotedirnotifymodule.cpp b/kioslave/remote/kdedmodule/remotedirnotifymodule.cpp index 5877ac299..894400ce2 100644 --- a/kioslave/remote/kdedmodule/remotedirnotifymodule.cpp +++ b/kioslave/remote/kdedmodule/remotedirnotifymodule.cpp @@ -22,13 +22,13 @@ #include <klocale.h> #include <kglobal.h> -RemoteDirNotifyModule::RemoteDirNotifyModule(const QCString &obj) +RemoteDirNotifyModule::RemoteDirNotifyModule(const TQCString &obj) : KDEDModule(obj) { } extern "C" { - KDE_EXPORT KDEDModule *create_remotedirnotify(const QCString &obj) + KDE_EXPORT KDEDModule *create_remotedirnotify(const TQCString &obj) { KGlobal::locale()->insertCatalogue("kio_remote"); return new RemoteDirNotifyModule(obj); diff --git a/kioslave/remote/kdedmodule/remotedirnotifymodule.h b/kioslave/remote/kdedmodule/remotedirnotifymodule.h index 4ce8c2c7d..e6cf0d720 100644 --- a/kioslave/remote/kdedmodule/remotedirnotifymodule.h +++ b/kioslave/remote/kdedmodule/remotedirnotifymodule.h @@ -28,7 +28,7 @@ class RemoteDirNotifyModule : public KDEDModule K_DCOP public: - RemoteDirNotifyModule(const QCString &obj); + RemoteDirNotifyModule(const TQCString &obj); private: RemoteDirNotify notifier; }; |