diff options
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(); |