summaryrefslogtreecommitdiffstats
path: root/kooka/kookapref.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:02 +0200
commita84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (patch)
treeac5486dd6d994b05268976cb64e7ef1450d353bc /kooka/kookapref.cpp
parentcbf5be374069885933bdc8a3ede2cbf9c2ffdb5f (diff)
downloadtdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.tar.gz
tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 45f529de247fc4b3662f6b474abe03fe904306ec)
Diffstat (limited to 'kooka/kookapref.cpp')
-rw-r--r--kooka/kookapref.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kooka/kookapref.cpp b/kooka/kookapref.cpp
index bebd60fa..45d0ee01 100644
--- a/kooka/kookapref.cpp
+++ b/kooka/kookapref.cpp
@@ -149,7 +149,7 @@ void KookaPreferences::setupOCRPage()
#endif
top->addWidget( kgp );
TQWidget *spaceEater = new TQWidget( page );
- spaceEater->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored ));
+ spaceEater->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored ));
top->addWidget( spaceEater );
/*
@@ -418,8 +418,8 @@ void KookaPreferences::setupThumbnailPage()
/* Frame Stuff */
int frameWidth = konf->readNumEntry( THUMB_MARGIN, 3 );
- TQColor col1 = konf->readColorEntry( MARGIN_COLOR1, &(tqcolorGroup().base()));
- TQColor col2 = konf->readColorEntry( MARGIN_COLOR2, &(tqcolorGroup().foreground()));
+ TQColor col1 = konf->readColorEntry( MARGIN_COLOR1, &(colorGroup().base()));
+ TQColor col2 = konf->readColorEntry( MARGIN_COLOR2, &(colorGroup().foreground()));
TQGrid *fGrid = new TQGrid( 2, hgb3 );
fGrid->setSpacing( 2 );
@@ -457,7 +457,7 @@ void KookaPreferences::slotApply( void )
/* ** startup options ** */
/** write the global one, to read from libkscan also */
- konf->setGroup(TQString::tqfromLatin1(GROUP_STARTUP));
+ konf->setGroup(TQString::fromLatin1(GROUP_STARTUP));
bool cbVal = !(cbShowScannerSelection->isChecked());
kdDebug(28000) << "Writing for " << STARTUP_SKIP_ASK << ": " << cbVal << endl;
konf->writeEntry( STARTUP_SKIP_ASK, cbVal, true, true ); /* global flag goes to kdeglobals */
@@ -532,8 +532,8 @@ void KookaPreferences::slotDefault( void )
m_tileSelector->setURL( KURL(bgImg) );
m_thumbWidth->setValue( 100 );
m_thumbHeight->setValue( 120 );
- TQColor col1 = TQColor( tqcolorGroup().base());
- TQColor col2 = TQColor( tqcolorGroup().foreground());
+ TQColor col1 = TQColor( colorGroup().base());
+ TQColor col2 = TQColor( colorGroup().foreground());
m_frameWidth->setValue( 3 );
m_colButt1->setColor( col1 );