summaryrefslogtreecommitdiffstats
path: root/kview/modules/scanner/kviewscanner.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kview/modules/scanner/kviewscanner.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-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/modules/scanner/kviewscanner.cpp')
-rw-r--r--kview/modules/scanner/kviewscanner.cpp18
1 files changed, 9 insertions, 9 deletions
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 <qimage.h>
-#include <qobjectlist.h>
+#include <tqimage.h>
+#include <tqobjectlist.h>
#include <kaction.h>
#include <kinstance.h>
@@ -35,19 +35,19 @@
typedef KGenericFactory<KViewScanner> 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<KImageViewer::Viewer *>( 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 );