From 374d939d8af431477ce2601815f0ba121b66871c Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 15 Feb 2011 19:11:41 +0000 Subject: 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 --- kparts/factory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kparts/factory.cpp') 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( factory ); + KParts::Factory *pfactory = tqt_dynamic_cast( factory ); if ( !pfactory ) return 0; return pfactory->partInstance(); -- cgit v1.2.1