summaryrefslogtreecommitdiffstats
path: root/src/app/truncatedtextlabel.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:08:43 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-05 01:52:57 +0200
commit90ed42be7905e495737a4d7af3b9510ade86ea9b (patch)
treeaef7d8c2ee2480bad8c653c664a711147d693408 /src/app/truncatedtextlabel.h
parent9206e76d77b57205dd514e5a66da50b09fe26fc1 (diff)
downloadgwenview-90ed42be7905e495737a4d7af3b9510ade86ea9b.tar.gz
gwenview-90ed42be7905e495737a4d7af3b9510ade86ea9b.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit d0bdd0d7a768f9935b521f3bd12a4cd72739b96f)
Diffstat (limited to 'src/app/truncatedtextlabel.h')
-rw-r--r--src/app/truncatedtextlabel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/truncatedtextlabel.h b/src/app/truncatedtextlabel.h
index 8e126ed..2351890 100644
--- a/src/app/truncatedtextlabel.h
+++ b/src/app/truncatedtextlabel.h
@@ -39,14 +39,14 @@ public:
TruncatedTextLabel(TQWidget* parent)
: TQLabel(parent) {}
- TQSize tqminimumSizeHint() const {
- TQSize size=TQLabel::tqminimumSizeHint();
+ TQSize minimumSizeHint() const {
+ TQSize size=TQLabel::minimumSizeHint();
size.setWidth(-1);
return size;
}
- TQSize tqsizeHint() const {
- return TQSize(contentsRect().width(), TQLabel::tqsizeHint().height());
+ TQSize sizeHint() const {
+ return TQSize(contentsRect().width(), TQLabel::sizeHint().height());
}
void setText(const TQString& text) {