From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kview/kviewcanvas/test/test.cpp | 2 +- kview/kviewcanvas/test/test.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'kview/kviewcanvas/test') diff --git a/kview/kviewcanvas/test/test.cpp b/kview/kviewcanvas/test/test.cpp index e913ab59..3d24cbce 100644 --- a/kview/kviewcanvas/test/test.cpp +++ b/kview/kviewcanvas/test/test.cpp @@ -17,7 +17,7 @@ KImageViewerTest::KImageViewerTest() : KParts::MainWindow( 0L, "KImageViewerTest" ) { TQWidget * widget = KParts::ComponentFactory::createInstanceFromQuery( - "KImageViewer/Canvas", TQString::null, this ); + "KImageViewer/Canvas", TQString(), this ); if( widget ) { m_part = dynamic_cast( widget ); diff --git a/kview/kviewcanvas/test/test.h b/kview/kviewcanvas/test/test.h index b6a85188..f04866ef 100644 --- a/kview/kviewcanvas/test/test.h +++ b/kview/kviewcanvas/test/test.h @@ -13,6 +13,7 @@ namespace KImageViewer { class Canvas; }; class KImageViewerTest : public KParts::MainWindow { Q_OBJECT + TQ_OBJECT public: KImageViewerTest(); virtual ~KImageViewerTest(); -- cgit v1.2.1