summaryrefslogtreecommitdiffstats
path: root/kparts/factory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
commit374d939d8af431477ce2601815f0ba121b66871c (patch)
treead878478dcc0bedf51e3cffb2ed611ada422b290 /kparts/factory.cpp
parentf9279733bf71e446933b46f40cbe9c9b9f57b778 (diff)
downloadtdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz
tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kparts/factory.cpp')
-rw-r--r--kparts/factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kparts/factory.cpp b/kparts/factory.cpp
index fc33feccf..092d550d1 100644
--- a/kparts/factory.cpp
+++ b/kparts/factory.cpp
@@ -63,7 +63,7 @@ const KInstance *Factory::partInstanceFromLibrary( const TQCString &libraryName
KLibFactory *factory = library->factory();
if ( !factory )
return 0;
- KParts::Factory *pfactory = dynamic_cast<KParts::Factory *>( factory );
+ KParts::Factory *pfactory = tqt_dynamic_cast<KParts::Factory *>( factory );
if ( !pfactory )
return 0;
return pfactory->partInstance();