diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
commit | b5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch) | |
tree | 7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /kwin-styles/riscos/StickyButton.cpp | |
parent | 019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff) | |
download | tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.tar.gz tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1157637 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin-styles/riscos/StickyButton.cpp')
-rw-r--r-- | kwin-styles/riscos/StickyButton.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kwin-styles/riscos/StickyButton.cpp b/kwin-styles/riscos/StickyButton.cpp index 808f04c7..b40db535 100644 --- a/kwin-styles/riscos/StickyButton.cpp +++ b/kwin-styles/riscos/StickyButton.cpp @@ -22,7 +22,7 @@ #include "StickyButton.h" -#include <qtooltip.h> +#include <tqtooltip.h> namespace RiscOS { @@ -66,24 +66,24 @@ static const char * const sticky_xpm[] = { ".. "}; -StickyButton::StickyButton(QWidget *parent) +StickyButton::StickyButton(TQWidget *parent) : Button(parent, i18n("On all desktops")), on_(false) { - setPixmap(QPixmap((const char **)sticky_xpm)); + setPixmap(TQPixmap((const char **)sticky_xpm)); } void StickyButton::setOn(bool on) { on_ = on; - setPixmap(on_ ? QPixmap((const char **)unsticky_xpm) : - QPixmap((const char **)sticky_xpm)); + setPixmap(on_ ? TQPixmap((const char **)unsticky_xpm) : + TQPixmap((const char **)sticky_xpm)); repaint(); - QToolTip::remove(this); - QToolTip::add(this, on_ ? i18n("Not on all desktops") + TQToolTip::remove(this); + TQToolTip::add(this, on_ ? i18n("Not on all desktops") : i18n("On all desktops")); } -void StickyButton::mouseReleaseEvent(QMouseEvent *e) +void StickyButton::mouseReleaseEvent(TQMouseEvent *e) { Button::mouseReleaseEvent(e); |