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/media/mediamanager/halbackend.h | |
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/media/mediamanager/halbackend.h')
-rw-r--r-- | kioslave/media/mediamanager/halbackend.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kioslave/media/mediamanager/halbackend.h b/kioslave/media/mediamanager/halbackend.h index c5bdd532c..59c7aa366 100644 --- a/kioslave/media/mediamanager/halbackend.h +++ b/kioslave/media/mediamanager/halbackend.h @@ -31,9 +31,9 @@ #include "backendbase.h" -#include <qobject.h> -#include <qstringlist.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstringlist.h> +#include <tqstring.h> #include <config.h> @@ -49,7 +49,7 @@ namespace KIO { class Job; } -class HALBackend : public QObject, public BackendBase +class HALBackend : public TQObject, public BackendBase { Q_OBJECT @@ -57,7 +57,7 @@ public: /** * Constructor */ - HALBackend(MediaList &list, QObject* parent); + HALBackend(MediaList &list, TQObject* parent); /** * Destructor @@ -78,15 +78,15 @@ public: */ bool ListDevices(); - QStringList mountoptions(const QString &id); + TQStringList mountoptions(const TQString &id); - bool setMountoptions(const QString &id, const QStringList &options); + bool setMountoptions(const TQString &id, const TQStringList &options); - QString mount(const QString &id); - QString mount(const Medium *medium); - QString unmount(const QString &id); - QString decrypt(const QString &id, const QString &password); - QString undecrypt(const QString &id); + TQString mount(const TQString &id); + TQString mount(const Medium *medium); + TQString unmount(const TQString &id); + TQString decrypt(const TQString &id, const TQString &password); + TQString undecrypt(const TQString &id); private: /** @@ -142,10 +142,10 @@ private: void setFloppyMountState( Medium* medium ); bool setFstabProperties(Medium* medium); void setCameraProperties(Medium* medium); - QString generateName(const QString &devNode); - static QString isInFstab(const Medium *medium); - static QString listUsingProcesses(const Medium *medium); - static QString killUsingProcesses(const Medium *medium); + TQString generateName(const TQString &devNode); + static TQString isInFstab(const Medium *medium); + static TQString listUsingProcesses(const Medium *medium); + static TQString killUsingProcesses(const Medium *medium); private slots: void slotResult(KIO::Job *job); @@ -207,7 +207,7 @@ private: /** * Object for the kded module */ - QObject* m_parent; + TQObject* m_parent; DBusConnection *dbus_connection; @@ -222,10 +222,10 @@ private: // [out] KIO::Error if an error occured during operation. Otherwise, 0 int error; // [out] Error message to be displayed to the user - QString errorMessage; + TQString errorMessage; }; - QMap<KIO::Job *, struct mount_job_data*> mount_jobs; + TQMap<KIO::Job *, struct mount_job_data*> mount_jobs; }; #endif /* _HALBACKEND_H_ */ |