diff options
author | Timothy Pearson <[email protected]> | 2012-02-20 18:14:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-20 18:14:05 -0600 |
commit | 19c822c41d0644be3f2bed9ddb86b5f996c0d023 (patch) | |
tree | d6e9e16f525755940ea0af5b3fc90e980f1be5ec /libkscan/scanparams.cpp | |
parent | 2e433f9dc4a5b8b979662f80cae2903a4496f7a3 (diff) | |
download | tdegraphics-19c822c41d0644be3f2bed9ddb86b5f996c0d023.tar.gz tdegraphics-19c822c41d0644be3f2bed9ddb86b5f996c0d023.zip |
Fix Q_CHECK_PTR
Diffstat (limited to 'libkscan/scanparams.cpp')
-rw-r--r-- | libkscan/scanparams.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkscan/scanparams.cpp b/libkscan/scanparams.cpp index 636b96df..896bf92e 100644 --- a/libkscan/scanparams.cpp +++ b/libkscan/scanparams.cpp @@ -139,7 +139,7 @@ bool ScanParams::connectDevice( KScanDevice *newScanDevice ) /* load the startup scanoptions */ startupOptset = new KScanOptSet( DEFAULT_OPTIONSET ); - Q_CHECK_PTR( startupOptset ); + TQ_CHECK_PTR( startupOptset ); if( !startupOptset->load( "Startup" ) ) { @@ -241,7 +241,7 @@ TQScrollView *ScanParams::scannerParams( ) /* Pretty-Pixmap */ KScanCombo *cb = (KScanCombo*) so->widget(); - Q_CHECK_PTR(cb); + TQ_CHECK_PTR(cb); // the following strings are not translatable since the sane library does not translate them. // so, if we want icons, we have to keep them non-translated for now. cb->slSetIcon( pixLineArt, "Line art" ); @@ -463,7 +463,7 @@ TQScrollView *ScanParams::scannerParams( ) (void) new TQWidget( hb1 ); /* dummy widget to eat space */ pb_edit_gtable = new TQPushButton( i18n("Edit..."), hb1 ); - Q_CHECK_PTR(pb_edit_gtable); + TQ_CHECK_PTR(pb_edit_gtable); connect( pb_edit_gtable, TQT_SIGNAL( clicked () ), this, TQT_SLOT( slEditCustGamma () ) ); @@ -1003,7 +1003,7 @@ void ScanParams::slAcquirePreview( void ) slMaximalScanSize(); if( ! sane_device ) kdDebug(29000) << "Aeetsch: sane_device is 0 !" << endl; - Q_CHECK_PTR( sane_device ); + TQ_CHECK_PTR( sane_device ); KScanStat stat = sane_device->acquirePreview( gray_preview ); if( stat != KSCAN_OK ) |