summaryrefslogtreecommitdiffstats
path: root/src/variouswidgets.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:17 -0600
commit2a411f53a04f815770074b633e026a141f6fa875 (patch)
tree0408d7c0976f54b4b6d13e8fbf5d91a82cb4ff92 /src/variouswidgets.cpp
parentae6cafee5339716bd01aa6c66aa4f366bdc5d43b (diff)
downloadbasket-2a411f53a04f815770074b633e026a141f6fa875.tar.gz
basket-2a411f53a04f815770074b633e026a141f6fa875.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/variouswidgets.cpp')
-rw-r--r--src/variouswidgets.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/variouswidgets.cpp b/src/variouswidgets.cpp
index d24725a..f212721 100644
--- a/src/variouswidgets.cpp
+++ b/src/variouswidgets.cpp
@@ -46,7 +46,7 @@ RunCommandRequester::RunCommandRequester(const TQString &runCommand, const TQStr
m_runCommand = new TQLineEdit(runCommand, this);
TQPushButton *pb = new TQPushButton(/*"C&hoose..."*/i18n("..."), this);
- pb->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
+ pb->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
tqlayout->addWidget(m_runCommand);
tqlayout->addWidget(pb);
@@ -129,11 +129,11 @@ ViewSizeDialog::ViewSizeDialog(TQWidget *parent, int w, int h)
"Resize the window to select the image size\n"
"and close it or press Escape to accept changes."), this);
label->move(8, 8);
- label->setFixedSize( label->tqsizeHint() );
+ label->setFixedSize( label->sizeHint() );
// setSizeGripEnabled(true) doesn't work (the grip stay at the same place), so we emulate it:
m_sizeGrip = new TQSizeGrip(this);
- m_sizeGrip->setFixedSize( m_sizeGrip->tqsizeHint() );
+ m_sizeGrip->setFixedSize( m_sizeGrip->sizeHint() );
setGeometry(x(), y(), w, h);
}
@@ -269,7 +269,7 @@ FontSizeCombo::FontSizeCombo(bool rw, bool withDefault, TQWidget *parent, const
insertItem(i18n("(Default)"));
TQFontDatabase fontDB;
- TQValueList<int> sizes = fontDB.tqstandardSizes();
+ TQValueList<int> sizes = fontDB.standardSizes();
for (TQValueList<int>::Iterator it = sizes.begin(); it != sizes.end(); ++it)
insertItem(TQString::number(*it));