summaryrefslogtreecommitdiffstats
path: root/libkscan
diff options
context:
space:
mode:
Diffstat (limited to 'libkscan')
-rw-r--r--libkscan/devselector.cpp2
-rw-r--r--libkscan/img_canvas.cpp4
-rw-r--r--libkscan/imgscaledialog.cpp2
-rw-r--r--libkscan/kscanslider.cpp2
-rw-r--r--libkscan/previewer.cpp8
-rw-r--r--libkscan/scandialog.cpp4
-rw-r--r--libkscan/scanparams.cpp2
7 files changed, 12 insertions, 12 deletions
diff --git a/libkscan/devselector.cpp b/libkscan/devselector.cpp
index 542b975b..cff05d14 100644
--- a/libkscan/devselector.cpp
+++ b/libkscan/devselector.cpp
@@ -59,7 +59,7 @@ DeviceSelector::DeviceSelector( TQWidget *parent, TQStrList& devList,
label->resize( 100, 350 );
topLayout->addWidget( label );
- selectBox = new TQButtonGroup( 1,Qt::Horizontal, i18n( "Select Scan Device" ),
+ selectBox = new TQButtonGroup( 1,TQt::Horizontal, i18n( "Select Scan Device" ),
page, "ButtonBox");
TQ_CHECK_PTR( selectBox );
selectBox->setExclusive( true );
diff --git a/libkscan/img_canvas.cpp b/libkscan/img_canvas.cpp
index 832ca4c6..c4b2c680 100644
--- a/libkscan/img_canvas.cpp
+++ b/libkscan/img_canvas.cpp
@@ -457,7 +457,7 @@ void ImageCanvas::viewportMousePressEvent(TQMouseEvent *ev)
{
if( ! acquired || ! image ) return;
- if(ev->button()==Qt::LeftButton )
+ if(ev->button()==TQt::LeftButton )
{
int cx = contentsX(), cy = contentsY();
@@ -486,7 +486,7 @@ void ImageCanvas::viewportMousePressEvent(TQMouseEvent *ev)
void ImageCanvas::viewportMouseReleaseEvent(TQMouseEvent *ev)
{
- if(ev->button()!=Qt::LeftButton || !acquired ) return;
+ if(ev->button()!=TQt::LeftButton || !acquired ) return;
//// debug( "Mouse Release at %d/%d", ev->x(), ev->y());
if(moving!=MOVE_NONE) {
diff --git a/libkscan/imgscaledialog.cpp b/libkscan/imgscaledialog.cpp
index d7841339..2726baf9 100644
--- a/libkscan/imgscaledialog.cpp
+++ b/libkscan/imgscaledialog.cpp
@@ -40,7 +40,7 @@ ImgScaleDialog::ImgScaleDialog( TQWidget *parent, int curr_sel,
// (void) new TQLabel( , main, "Page");
//
// makeMainWidget();
- TQButtonGroup *radios = new TQButtonGroup ( 2, Qt::Horizontal, this );
+ TQButtonGroup *radios = new TQButtonGroup ( 2, TQt::Horizontal, this );
setMainWidget(radios);
TQ_CHECK_PTR(radios);
radios->setTitle( i18n("Select Image Zoom") );
diff --git a/libkscan/kscanslider.cpp b/libkscan/kscanslider.cpp
index 6d64f213..01179b8d 100644
--- a/libkscan/kscanslider.cpp
+++ b/libkscan/kscanslider.cpp
@@ -58,7 +58,7 @@ KScanSlider::KScanSlider( TQWidget *parent, const TQString& text,
hb->addSpacing( 4 );
}
- slider = new TQSlider( (int) min, (int)max, 1, (int)min, Qt::Horizontal, this, "AUTO_SLIDER_" );
+ slider = new TQSlider( (int) min, (int)max, 1, (int)min, TQt::Horizontal, this, "AUTO_SLIDER_" );
slider->setTickmarks( TQSlider::Below );
slider->setTickInterval( int(TQMAX( (max-min)/10, 1 )) );
slider->setSteps( int(TQMAX( (max-min)/20, 1) ), int(TQMAX( (max-min)/10, 1) ) );
diff --git a/libkscan/previewer.cpp b/libkscan/previewer.cpp
index 2925d50f..e8194b6d 100644
--- a/libkscan/previewer.cpp
+++ b/libkscan/previewer.cpp
@@ -200,7 +200,7 @@ Previewer::Previewer(TQWidget *parent, const char *name )
/** Autoselection Box **/
- d->m_autoSelGroup = new TQGroupBox( 1,Qt::Horizontal, i18n("Auto-Selection"), frame);
+ d->m_autoSelGroup = new TQGroupBox( 1,TQt::Horizontal, i18n("Auto-Selection"), frame);
TQHBox *hbox = new TQHBox(d->m_autoSelGroup);
d->m_cbAutoSel = new TQCheckBox( i18n("Active on"), hbox );
@@ -224,7 +224,7 @@ Previewer::Previewer(TQWidget *parent, const char *name )
(void) new TQLabel( i18n("scanner background"), d->m_autoSelGroup );
TQLabel *l1= new TQLabel( i18n("Thresh&old:"), d->m_autoSelGroup );
- d->m_sliderThresh = new TQSlider( 0, 254, 10, d->m_autoSelThresh, Qt::Horizontal,
+ d->m_sliderThresh = new TQSlider( 0, 254, 10, d->m_autoSelThresh, TQt::Horizontal,
d->m_autoSelGroup );
connect( d->m_sliderThresh, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slSetAutoSelThresh(int)));
TQToolTip::add( d->m_sliderThresh,
@@ -236,7 +236,7 @@ Previewer::Previewer(TQWidget *parent, const char *name )
#if 0 /** Dustsize-Slider: No deep impact on result **/
(void) new TQLabel( i18n("Dust size:"), grBox );
- d->m_sliderDust = new TQSlider( 0, 50, 5, d->m_dustsize, Qt::Horizontal, grBox );
+ d->m_sliderDust = new TQSlider( 0, 50, 5, d->m_dustsize, TQt::Horizontal, grBox );
connect( d->m_sliderDust, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slSetAutoSelDustsize(int)));
#endif
@@ -246,7 +246,7 @@ Previewer::Previewer(TQWidget *parent, const char *name )
left->addWidget(d->m_autoSelGroup);
/* Labels for the dimension */
- TQGroupBox *gbox = new TQGroupBox( 1,Qt::Horizontal, i18n("Selection"), frame, "GROUPBOX" );
+ TQGroupBox *gbox = new TQGroupBox( 1,TQt::Horizontal, i18n("Selection"), frame, "GROUPBOX" );
TQLabel *l2 = new TQLabel( i18n("width - mm" ), gbox );
TQLabel *l3 = new TQLabel( i18n("height - mm" ), gbox );
diff --git a/libkscan/scandialog.cpp b/libkscan/scandialog.cpp
index bd38caa1..f2656e33 100644
--- a/libkscan/scandialog.cpp
+++ b/libkscan/scandialog.cpp
@@ -74,7 +74,7 @@ ScanDialog::ScanDialog( TQWidget *parent, const char *name, bool modal )
{
TQVBox *page = addVBoxPage( i18n("&Scanning") );
- splitter = new TQSplitter(Qt::Horizontal, page, "splitter" );
+ splitter = new TQSplitter(TQt::Horizontal, page, "splitter" );
TQ_CHECK_PTR( splitter );
m_scanParams = 0;
@@ -110,7 +110,7 @@ void ScanDialog::createOptionsTab( void )
TQVBox *page = addVBoxPage( i18n("&Options"));
setMainWidget(page);
- TQGroupBox *gb = new TQGroupBox( 1, Qt::Horizontal, i18n("Startup Options"), page, "GB_STARTUP" );
+ TQGroupBox *gb = new TQGroupBox( 1, TQt::Horizontal, i18n("Startup Options"), page, "GB_STARTUP" );
TQLabel *label = new TQLabel( i18n( "Note: changing these options will affect the scan plugin on next start." ),
gb );
label->setSizePolicy( TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed ) );
diff --git a/libkscan/scanparams.cpp b/libkscan/scanparams.cpp
index cd9325d9..3dafbc6e 100644
--- a/libkscan/scanparams.cpp
+++ b/libkscan/scanparams.cpp
@@ -662,7 +662,7 @@ void ScanParams::virtualScannerParams( void )
TQWidget *w = 0;
/* Selection if virt. Scanner or SANE Debug */
- bg_virt_scan_mode = new TQButtonGroup( 2, Qt::Horizontal,
+ bg_virt_scan_mode = new TQButtonGroup( 2, TQt::Horizontal,
this, "GroupBoxVirtScanner" );
connect( bg_virt_scan_mode, TQT_SIGNAL(clicked(int)),
this, TQT_SLOT( slVirtScanModeSelect(int)));