diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kview/kviewcanvas/test | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kview/kviewcanvas/test')
-rw-r--r-- | kview/kviewcanvas/test/test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kview/kviewcanvas/test/test.cpp b/kview/kviewcanvas/test/test.cpp index 8422f944..e913ab59 100644 --- a/kview/kviewcanvas/test/test.cpp +++ b/kview/kviewcanvas/test/test.cpp @@ -11,13 +11,13 @@ #include <kmessagebox.h> #include <kparts/componentfactory.h> -#include <qimage.h> +#include <tqimage.h> KImageViewerTest::KImageViewerTest() : KParts::MainWindow( 0L, "KImageViewerTest" ) { - QWidget * widget = KParts::ComponentFactory::createInstanceFromQuery<QWidget>( - "KImageViewer/Canvas", QString::null, this ); + TQWidget * widget = KParts::ComponentFactory::createInstanceFromQuery<TQWidget>( + "KImageViewer/Canvas", TQString::null, this ); if( widget ) { m_part = dynamic_cast<KImageViewer::Canvas *>( widget ); @@ -36,7 +36,7 @@ KImageViewerTest::~KImageViewerTest() void KImageViewerTest::load(const KURL& url) { - QImage image( url.fileName() ); + TQImage image( url.fileName() ); if( m_part ) m_part->setImage( image ); else |