diff options
Diffstat (limited to 'kview/modules/scanner')
-rw-r--r-- | kview/modules/scanner/kviewscanner.cpp | 18 | ||||
-rw-r--r-- | kview/modules/scanner/kviewscanner.h | 4 |
2 files changed, 11 insertions, 11 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 ); diff --git a/kview/modules/scanner/kviewscanner.h b/kview/modules/scanner/kviewscanner.h index cdb32d67..56b59472 100644 --- a/kview/modules/scanner/kviewscanner.h +++ b/kview/modules/scanner/kviewscanner.h @@ -32,14 +32,14 @@ class KViewScanner : public KParts::Plugin { Q_OBJECT public: - KViewScanner( QObject* parent, const char* name, const QStringList & ); + KViewScanner( TQObject* parent, const char* name, const TQStringList & ); virtual ~KViewScanner(); //public slots: private slots: void slotScan(); - void slotImgScanned( const QImage & ); + void slotImgScanned( const TQImage & ); private: KScanDialog * m_pScandlg; |