diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:19:21 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 03:26:34 +0200 |
commit | 0251b10c2e9a79e857e5729453d375d09fa8336e (patch) | |
tree | 11223ad7a12c1bdbc81b9bb698618b0386a1ce5e /kwin/kcmkwin/kwindecoration/buttons.cpp | |
parent | a5b44fbe44e58478ad74d819c5f4c36926d31872 (diff) | |
download | tdebase-0251b10c2e9a79e857e5729453d375d09fa8336e.tar.gz tdebase-0251b10c2e9a79e857e5729453d375d09fa8336e.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit b492b550f35c84160958775c14ea7037c5b12181)
Diffstat (limited to 'kwin/kcmkwin/kwindecoration/buttons.cpp')
-rw-r--r-- | kwin/kcmkwin/kwindecoration/buttons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kwin/kcmkwin/kwindecoration/buttons.cpp b/kwin/kcmkwin/kwindecoration/buttons.cpp index 46449cf45..5d1d96d85 100644 --- a/kwin/kcmkwin/kwindecoration/buttons.cpp +++ b/kwin/kcmkwin/kwindecoration/buttons.cpp @@ -54,7 +54,7 @@ ButtonDrag::ButtonDrag( Button btn, TQWidget* parent, const char* name) TQDataStream stream(data, IO_WriteOnly); stream << btn.name; stream << btn.icon; - stream << btn.type.tqunicode(); + stream << btn.type.unicode(); stream << (int) btn.duplicate; stream << (int) btn.supported; setEncodedData( data ); @@ -152,7 +152,7 @@ TQSize ButtonSource::sizeHint() const TQSize s( header()->sizeHint() ); if ( verticalScrollBar()->isVisible() ) - s.setWidth( s.width() + tqstyle().pixelMetric(TQStyle::PM_ScrollBarExtent) ); + s.setWidth( s.width() + style().pixelMetric(TQStyle::PM_ScrollBarExtent) ); s += TQSize(frameWidth()*2,frameWidth()*2); // size hint: 4 lines of text... |