diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:28:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:28:28 -0600 |
commit | f35eb5f602bee29af07ecaffe26cda71cea62b93 (patch) | |
tree | 1fc05bfb9117480c134ca063285ec604c07c6271 /twin-styles/icewm | |
parent | 48afe4d8df11f862f7ccc60f0594991f857f81db (diff) | |
download | tdeartwork-f35eb5f602bee29af07ecaffe26cda71cea62b93.tar.gz tdeartwork-f35eb5f602bee29af07ecaffe26cda71cea62b93.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'twin-styles/icewm')
-rw-r--r-- | twin-styles/icewm/icewm.cpp | 8 | ||||
-rw-r--r-- | twin-styles/icewm/icewm.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/twin-styles/icewm/icewm.cpp b/twin-styles/icewm/icewm.cpp index 4b9a064b..601fe3ca 100644 --- a/twin-styles/icewm/icewm.cpp +++ b/twin-styles/icewm/icewm.cpp @@ -772,7 +772,7 @@ IceWMButton::IceWMButton(IceWMClient *parent, const char *name, TQPixmap* (*p)[2 setBackgroundMode( TQWidget::NoBackground ); client = parent; usePixmap( p ); - setFixedSize( tqsizeHint() ); + setFixedSize( sizeHint() ); setToggleButton( isToggle ); } @@ -785,7 +785,7 @@ void IceWMButton::setTipText(const TQString &tip) { } -TQSize IceWMButton::tqsizeHint() const +TQSize IceWMButton::sizeHint() const { // Check for invalid data if ( validPixmaps( (TQPixmap**) (*pix) ) ) // Cast to avoid dumb warning @@ -1157,9 +1157,9 @@ void IceWMClient::resize( const TQSize& s ) } -TQSize IceWMClient::tqminimumSize() const +TQSize IceWMClient::minimumSize() const { - return widget()->tqminimumSize(); + return widget()->minimumSize(); } diff --git a/twin-styles/icewm/icewm.h b/twin-styles/icewm/icewm.h index f343912c..975ccfbc 100644 --- a/twin-styles/icewm/icewm.h +++ b/twin-styles/icewm/icewm.h @@ -104,7 +104,7 @@ class IceWMButton : public TQButton const TQString& tip=NULL, const int realizeBtns = Qt::LeftButton ); void setTipText(const TQString &tip); void usePixmap( TQPixmap* (*p)[2] ); - TQSize tqsizeHint() const; + TQSize sizeHint() const; void turnOn( bool isOn ); ButtonState last_button; @@ -150,7 +150,7 @@ class IceWMClient : public KDecoration void iconChange(); virtual void desktopChange( ); virtual void borders(int&, int&, int&, int&) const; - virtual TQSize tqminimumSize() const; + virtual TQSize minimumSize() const; protected slots: void slotMaximize(); |