From 19c822c41d0644be3f2bed9ddb86b5f996c0d023 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 20 Feb 2012 18:14:05 -0600 Subject: Fix Q_CHECK_PTR --- libkscan/gammadialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libkscan/gammadialog.cpp') 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))); -- cgit v1.2.1