diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:14 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 02:12:11 +0200 |
commit | b4dcf7866a6902adf76c3837f65395a37973a681 (patch) | |
tree | 2d8e09764958b35fb18acd0c535bd5f0d3358bce /kodo | |
parent | a876c4b60cd4eac78cae83900064a2c7655d9d59 (diff) | |
download | tdetoys-b4dcf7866a6902adf76c3837f65395a37973a681.tar.gz tdetoys-b4dcf7866a6902adf76c3837f65395a37973a681.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3ee504ecba6caf3c2609a8648fe3659f2b541544)
Diffstat (limited to 'kodo')
-rw-r--r-- | kodo/kimagenumber.cpp | 4 | ||||
-rw-r--r-- | kodo/kimagenumber.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kodo/kimagenumber.cpp b/kodo/kimagenumber.cpp index 911f718..86a44ba 100644 --- a/kodo/kimagenumber.cpp +++ b/kodo/kimagenumber.cpp @@ -30,7 +30,7 @@ KImageNumber::KImageNumber(const TQString& font, TQWidget* parent,const char* na m_value(0) { fontPix = new TQPixmap(font); - resize(tqsizeHint()); + resize(sizeHint()); } KImageNumber::~KImageNumber() @@ -65,7 +65,7 @@ double KImageNumber::value() const return m_value; } -TQSize KImageNumber::tqsizeHint() const +TQSize KImageNumber::sizeHint() const { int w = fontPix->width(); int each = w/11; diff --git a/kodo/kimagenumber.h b/kodo/kimagenumber.h index 0500d76..5719e1b 100644 --- a/kodo/kimagenumber.h +++ b/kodo/kimagenumber.h @@ -40,7 +40,7 @@ public: virtual ~KImageNumber(); void paintEvent(TQPaintEvent*); - virtual TQSize tqsizeHint() const; + virtual TQSize sizeHint() const; double value() const; public slots: |