summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-29 00:07:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-29 00:07:20 +0000
commit9ee4144afedd77175dd068e60ef09399c684dcee (patch)
treeea89d4e804b738146dca0bbded08cdc06d9817dd /kio
parent0d772cdcb1100285ecb0d9867fc9b795d3c8a707 (diff)
downloadtdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.tar.gz
tdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.zip
Restored qt_cast()
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/klimitediodevice.h2
-rw-r--r--kio/kio/slave.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/kio/kio/klimitediodevice.h b/kio/kio/klimitediodevice.h
index 9d59c890e..f148d5215 100644
--- a/kio/kio/klimitediodevice.h
+++ b/kio/kio/klimitediodevice.h
@@ -47,7 +47,7 @@ public:
}
virtual ~KLimitedIODevice() {}
- virtual bool open( int m ) {
+ virtual bool open( OpenMode m ) {
//kdDebug(7005) << "KLimitedIODevice::open m=" << m << endl;
if ( m & IO_ReadOnly ) {
/*bool ok = false;
diff --git a/kio/kio/slave.h b/kio/kio/slave.h
index 790f7eab1..7c838f784 100644
--- a/kio/kio/slave.h
+++ b/kio/kio/slave.h
@@ -44,6 +44,7 @@ namespace KIO {
class KIO_EXPORT Slave : public KIO::SlaveInterface
{
Q_OBJECT
+ TQ_OBJECT
protected:
/**