summaryrefslogtreecommitdiffstats
path: root/src/gui/kdeext/KLedButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kdeext/KLedButton.cpp')
-rw-r--r--src/gui/kdeext/KLedButton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kdeext/KLedButton.cpp b/src/gui/kdeext/KLedButton.cpp
index 1f1a3fc..03945b0 100644
--- a/src/gui/kdeext/KLedButton.cpp
+++ b/src/gui/kdeext/KLedButton.cpp
@@ -36,13 +36,13 @@
namespace Rosegarden
{
-KLedButton::KLedButton(const TQColor &col, TQWidget *parent, const char *name)
- : KLed( col, parent, name )
+KLedButton::KLedButton(const TQColor &col, TQWidget *tqparent, const char *name)
+ : KLed( col, tqparent, name )
{}
KLedButton::KLedButton(const TQColor& col, KLed::State st, KLed::Look look,
- KLed::Shape shape, TQWidget *parent, const char *name)
- : KLed( col, st, look, shape, parent, name )
+ KLed::Shape tqshape, TQWidget *tqparent, const char *name)
+ : KLed( col, st, look, tqshape, tqparent, name )
{}
KLedButton::~KLedButton()
@@ -50,7 +50,7 @@ KLedButton::~KLedButton()
void KLedButton::mousePressEvent( TQMouseEvent *e )
{
- if (e->button() == LeftButton) {
+ if (e->button() == Qt::LeftButton) {
toggle();
emit stateChanged( state() );
}