diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 23:54:16 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:04:46 +0200 |
commit | 18aecb8ec08ac370cb99e78e63acee0275e6334c (patch) | |
tree | a13f6ea3f960137e10cd775fe2d5fa51edd4636e /kdeui/kauthicon.cpp | |
parent | a9c64e7a807d469d0c3695cd9ab23ab1b4c289b3 (diff) | |
download | tdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.tar.gz tdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.zip |
Use non-tq sizeHint functions to fix bindings
(cherry picked from commit d4e11a5f488204ab8886e167c7c4af1e6e16ab58)
Diffstat (limited to 'kdeui/kauthicon.cpp')
-rw-r--r-- | kdeui/kauthicon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdeui/kauthicon.cpp b/kdeui/kauthicon.cpp index fa49a1d26..fe267a754 100644 --- a/kdeui/kauthicon.cpp +++ b/kdeui/kauthicon.cpp @@ -102,7 +102,7 @@ KAuthIcon::KAuthIcon(TQWidget *parent, const char *name) lockBox = new TQLabel(this); lockBox->setFrameStyle(TQFrame::WinPanel|TQFrame::Raised); lockBox->setPixmap(lockPM); - lockBox->setFixedSize(lockBox->tqsizeHint()); + lockBox->setFixedSize(lockBox->sizeHint()); lockLabel = new TQLabel(this); lockLabel->setFrameStyle(TQFrame::NoFrame); @@ -114,7 +114,7 @@ KAuthIcon::KAuthIcon(TQWidget *parent, const char *name) else lockLabel->setText(openLockText); lockLabel->tqsetAlignment(AlignCenter); - lockLabel->setMinimumSize(lockLabel->tqsizeHint()); + lockLabel->setMinimumSize(lockLabel->sizeHint()); lockLabel->setText(lockText); layout = new TQHBoxLayout(this); @@ -124,7 +124,7 @@ KAuthIcon::KAuthIcon(TQWidget *parent, const char *name) layout->addWidget(lockLabel, 0, AlignRight|AlignVCenter); layout->activate(); - resize(tqsizeHint()); + resize(sizeHint()); } KAuthIcon::~KAuthIcon() @@ -132,7 +132,7 @@ KAuthIcon::~KAuthIcon() } -TQSize KAuthIcon::tqsizeHint() const +TQSize KAuthIcon::sizeHint() const { return layout->tqminimumSize(); } |