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/linuxcdpolling.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/linuxcdpolling.h')
-rw-r--r-- | kioslave/media/mediamanager/linuxcdpolling.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kioslave/media/mediamanager/linuxcdpolling.h b/kioslave/media/mediamanager/linuxcdpolling.h index 1df113962..3dec7e3ee 100644 --- a/kioslave/media/mediamanager/linuxcdpolling.h +++ b/kioslave/media/mediamanager/linuxcdpolling.h @@ -21,10 +21,10 @@ #include "backendbase.h" -#include <qobject.h> -#include <qcstring.h> -#include <qmap.h> -#include <qtimer.h> +#include <tqobject.h> +#include <tqcstring.h> +#include <tqmap.h> +#include <tqtimer.h> class DiscType { @@ -47,7 +47,7 @@ private: class PollingThread; -class LinuxCDPolling : public QObject, public BackendBase +class LinuxCDPolling : public TQObject, public BackendBase { Q_OBJECT @@ -64,23 +64,23 @@ public: * @param current the current known state of the drive * @return the disc type */ - static DiscType identifyDiscType(const QCString &devNode, + static DiscType identifyDiscType(const TQCString &devNode, const DiscType ¤t = DiscType::Unknown); private slots: - void slotMediumAdded(const QString &id); - void slotMediumRemoved(const QString &id); - void slotMediumStateChanged(const QString &id); + void slotMediumAdded(const TQString &id); + void slotMediumRemoved(const TQString &id); + void slotMediumStateChanged(const TQString &id); void slotTimeout(); private: void applyType(DiscType type, const Medium *medium); - static bool hasDirectory(const QCString &devNode, const QCString &dir); + static bool hasDirectory(const TQCString &devNode, const TQCString &dir); - QMap<QString, PollingThread*> m_threads; - QStringList m_excludeNotification; - QTimer m_timer; + TQMap<TQString, PollingThread*> m_threads; + TQStringList m_excludeNotification; + TQTimer m_timer; }; #endif |