diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-20 18:14:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-20 18:14:05 -0600 |
commit | 19c822c41d0644be3f2bed9ddb86b5f996c0d023 (patch) | |
tree | d6e9e16f525755940ea0af5b3fc90e980f1be5ec /libkscan/gammadialog.cpp | |
parent | 2e433f9dc4a5b8b979662f80cae2903a4496f7a3 (diff) | |
download | tdegraphics-19c822c41d0644be3f2bed9ddb86b5f996c0d023.tar.gz tdegraphics-19c822c41d0644be3f2bed9ddb86b5f996c0d023.zip |
Fix Q_CHECK_PTR
Diffstat (limited to 'libkscan/gammadialog.cpp')
-rw-r--r-- | libkscan/gammadialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkscan/gammadialog.cpp b/libkscan/gammadialog.cpp index ef8a87a2..548a545e 100644 --- a/libkscan/gammadialog.cpp +++ b/libkscan/gammadialog.cpp @@ -36,7 +36,7 @@ GammaDialog::GammaDialog( TQWidget *parent ) : gt = new KGammaTable(); TQWidget *page = new TQWidget( this ); - Q_CHECK_PTR( page ); + TQ_CHECK_PTR( page ); setMainWidget( page ); /* This connect is for recalculating the table every time a new @@ -65,17 +65,17 @@ GammaDialog::GammaDialog( TQWidget *parent ) : /* Slider Widgets for gamma, brightness, contrast */ wBright = new KScanSlider ( page, i18n("Brightness"), -50.0, 50.0 ); - Q_CHECK_PTR(wBright); + TQ_CHECK_PTR(wBright); wBright->slSetSlider( 0 ); connect( wBright, TQT_SIGNAL(valueChanged(int)), gt, TQT_SLOT(setBrightness(int))); wContrast = new KScanSlider ( page, i18n("Contrast") , -50.0, 50.0 ); - Q_CHECK_PTR(wContrast); + TQ_CHECK_PTR(wContrast); wContrast->slSetSlider( 0 ); connect( wContrast, TQT_SIGNAL(valueChanged(int)), gt, TQT_SLOT(setContrast(int))); wGamma = new KScanSlider ( page, i18n("Gamma"), 30.0, 300.0 ); - Q_CHECK_PTR(wGamma); + TQ_CHECK_PTR(wGamma); wGamma->slSetSlider(100); connect( wGamma, TQT_SIGNAL(valueChanged(int)), gt, TQT_SLOT(setGamma(int))); |