From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kview/modules/scanner/kviewscanner.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kview/modules/scanner/kviewscanner.cpp') diff --git a/kview/modules/scanner/kviewscanner.cpp b/kview/modules/scanner/kviewscanner.cpp index d1f96e5f..bf99e282 100644 --- a/kview/modules/scanner/kviewscanner.cpp +++ b/kview/modules/scanner/kviewscanner.cpp @@ -20,8 +20,8 @@ #include "kviewscanner.h" -#include -#include +#include +#include #include #include @@ -35,19 +35,19 @@ typedef KGenericFactory KViewScannerFactory; K_EXPORT_COMPONENT_FACTORY( kview_scannerplugin, KViewScannerFactory( "kviewscannerplugin" ) ) -KViewScanner::KViewScanner( QObject* parent, const char* name, - const QStringList & ) +KViewScanner::KViewScanner( TQObject* parent, const char* name, + const TQStringList & ) : Plugin( parent, name ), m_pScandlg( 0 ), m_pViewer( 0 ) { - QObjectList * viewerList = parent->queryList( 0, "KImageViewer Part", false, false ); + TQObjectList * viewerList = parent->queryList( 0, "KImageViewer Part", false, false ); m_pViewer = static_cast( viewerList->getFirst() ); delete viewerList; if( m_pViewer ) { (void) new KAction( i18n( "&Scan Image..." ), "scanner", 0, - this, SLOT( slotScan() ), + this, TQT_SLOT( slotScan() ), actionCollection(), "plugin_scan" ); } else @@ -67,8 +67,8 @@ void KViewScanner::slotScan() { m_pScandlg->setMinimumSize( 300, 300 ); - connect( m_pScandlg, SIGNAL( finalImage( const QImage &, int ) ), - this, SLOT( slotImgScanned( const QImage & ) ) ); + connect( m_pScandlg, TQT_SIGNAL( finalImage( const TQImage &, int ) ), + this, TQT_SLOT( slotImgScanned( const TQImage & ) ) ); } else { @@ -86,7 +86,7 @@ void KViewScanner::slotScan() m_pScandlg->show(); } -void KViewScanner::slotImgScanned( const QImage & img ) +void KViewScanner::slotImgScanned( const TQImage & img ) { kdDebug( 4630 ) << "received an image from the scanner" << endl; m_pViewer->newImage( img ); -- cgit v1.2.1