summaryrefslogtreecommitdiffstats
path: root/k9devices/k9halconnection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'k9devices/k9halconnection.cpp')
-rw-r--r--k9devices/k9halconnection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/k9devices/k9halconnection.cpp b/k9devices/k9halconnection.cpp
index 12d23cb..e420472 100644
--- a/k9devices/k9halconnection.cpp
+++ b/k9devices/k9halconnection.cpp
@@ -31,8 +31,8 @@ void halDeviceRemoved (LibHalContext *ctx, const char *udi) {
}
-k9HalConnection::k9HalConnection(TQObject *tqparent, const char *name)
- : TQObject(tqparent, name)
+k9HalConnection::k9HalConnection(TQObject *parent, const char *name)
+ : TQObject(parent, name)
{
m_devices.setAutoDelete(true);
m_context =(void*) libhal_ctx_new();
@@ -104,7 +104,7 @@ void k9HalConnection::testVolumeChanged( const char * udi) {
}
else
if( libhal_device_query_capability( (LibHalContext*) m_context, udi, "volume", 0 ) ) {
- char* udiParent = libhal_device_get_property_string( (LibHalContext*) m_context, udi, "info.tqparent", 0 );
+ char* udiParent = libhal_device_get_property_string( (LibHalContext*) m_context, udi, "info.parent", 0 );
if( udiParent ) {
k9HalDevice *device=findDevice( udiParent);
libhal_free_string( udiParent );