diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:39 -0600 |
commit | 45f529de247fc4b3662f6b474abe03fe904306ec (patch) | |
tree | d4b70147f7b0aeda4c1cb484553dc8ae048eb7ec /libkscan/scanparams.cpp | |
parent | ec1fddcd0d6663ad273af85357f04abbc5689468 (diff) | |
download | tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.tar.gz tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'libkscan/scanparams.cpp')
-rw-r--r-- | libkscan/scanparams.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libkscan/scanparams.cpp b/libkscan/scanparams.cpp index ec9e77fe..422eed4a 100644 --- a/libkscan/scanparams.cpp +++ b/libkscan/scanparams.cpp @@ -120,7 +120,7 @@ bool ScanParams::connectDevice( KScanDevice *newScanDevice ) (void ) new TQLabel( cap, hb ); m_led = new KLed( hb ); m_led->setState( KLed::Off ); - m_led->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed )); + m_led->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed )); (void) new KSeparator( KSeparator::HLine, this); @@ -501,9 +501,9 @@ TQScrollView *ScanParams::scannerParams( ) } TQWidget *spacer = new TQWidget( pbox ); - spacer->tqsetSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding); + spacer->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding); - pbox->setMinimumWidth( pbox->tqsizeHint().width() ); + pbox->setMinimumWidth( pbox->sizeHint().width() ); sv->setMinimumWidth( pbox->minimumWidth() ); sv->addChild( pbox ); @@ -591,7 +591,7 @@ void ScanParams::slFileSelect( void ) fi_item = filterList.next() ) { - filter.append( TQString::tqfromLatin1( prefix + fi_item.lower()) ); + filter.append( TQString::fromLatin1( prefix + fi_item.lower()) ); } } else @@ -638,7 +638,7 @@ void ScanParams::slVirtScanModeSelect( int id ) kdDebug(29000) << "Found File in Filename-Option: " << vf << endl; TQFileInfo fi( vf ); - if( fi.extension() != TQString::tqfromLatin1("pnm") ) + if( fi.extension() != TQString::fromLatin1("pnm") ) virt_filename->set(TQCString("")); } } else { @@ -695,7 +695,7 @@ void ScanParams::virtualScannerParams( void ) TQHBoxLayout *hb = new TQHBoxLayout(); top->addLayout( hb ); w = virt_filename->widget(); - w->setMinimumHeight( (w->tqsizeHint()).height()); + w->setMinimumHeight( (w->sizeHint()).height()); connect( w, TQT_SIGNAL(returnPressed()), this, TQT_SLOT( slCheckGlob())); |