summaryrefslogtreecommitdiffstats
path: root/kwin-styles/riscos/MaximiseButton.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
commitb5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch)
tree7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /kwin-styles/riscos/MaximiseButton.cpp
parent019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff)
downloadtdeartwork-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/MaximiseButton.cpp')
-rw-r--r--kwin-styles/riscos/MaximiseButton.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kwin-styles/riscos/MaximiseButton.cpp b/kwin-styles/riscos/MaximiseButton.cpp
index b82f2867..ebfb6628 100644
--- a/kwin-styles/riscos/MaximiseButton.cpp
+++ b/kwin-styles/riscos/MaximiseButton.cpp
@@ -22,7 +22,7 @@
#include "MaximiseButton.h"
-#include <qtooltip.h>
+#include <tqtooltip.h>
namespace RiscOS
{
@@ -65,25 +65,25 @@ static const char * const unmaximise_xpm[] = {
" ",
" "};
-MaximiseButton::MaximiseButton(QWidget * parent)
+MaximiseButton::MaximiseButton(TQWidget * parent)
: Button(parent, i18n("Maximize"),
(ButtonState)(LeftButton|MidButton|RightButton)),
on_(false)
{
- setPixmap(QPixmap((const char **)maximise_xpm));
+ setPixmap(TQPixmap((const char **)maximise_xpm));
}
void MaximiseButton::setOn(bool on)
{
on_ = on;
- setPixmap(on_ ? QPixmap((const char **)unmaximise_xpm)
- : QPixmap((const char **)maximise_xpm));
+ setPixmap(on_ ? TQPixmap((const char **)unmaximise_xpm)
+ : TQPixmap((const char **)maximise_xpm));
repaint();
- QToolTip::remove(this);
- QToolTip::add(this, on_ ? i18n("Restore") : i18n("Maximize"));
+ TQToolTip::remove(this);
+ TQToolTip::add(this, on_ ? i18n("Restore") : i18n("Maximize"));
}
-void MaximiseButton::mouseReleaseEvent(QMouseEvent *e)
+void MaximiseButton::mouseReleaseEvent(TQMouseEvent *e)
{
Button::mouseReleaseEvent(e);