summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/snmp/snmplib.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /ksim/monitors/snmp/snmplib.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/monitors/snmp/snmplib.h')
-rw-r--r--ksim/monitors/snmp/snmplib.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ksim/monitors/snmp/snmplib.h b/ksim/monitors/snmp/snmplib.h
index e8b14a4..388c918 100644
--- a/ksim/monitors/snmp/snmplib.h
+++ b/ksim/monitors/snmp/snmplib.h
@@ -25,7 +25,7 @@
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
-#include <qmutex.h>
+#include <tqmutex.h>
template <class> class KStaticDeleter;
@@ -39,13 +39,13 @@ template <class T>
class ClassLocker
{
public:
- ClassLocker( QMutex *guard, T *obj )
+ ClassLocker( TQMutex *guard, T *obj )
: m_guard( guard ), m_obj( obj )
{}
struct ClassLockerHelper
{
- ClassLockerHelper( QMutex *guard, T *obj )
+ ClassLockerHelper( TQMutex *guard, T *obj )
: m_guard( guard ), m_obj( obj ), m_locked( false )
{}
@@ -63,7 +63,7 @@ public:
}
private:
- QMutex *m_guard;
+ TQMutex *m_guard;
T *m_obj;
bool m_locked;
};
@@ -77,7 +77,7 @@ private:
ClassLocker( const ClassLocker & );
ClassLocker &operator=( const ClassLocker & );
- QMutex *m_guard;
+ TQMutex *m_guard;
T *m_obj;
};
@@ -127,7 +127,7 @@ private:
SnmpLib();
~SnmpLib();
- QMutex m_guard;
+ TQMutex m_guard;
ClassLocker<SnmpLib> *m_lockHelper;
static SnmpLib *s_self;