summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/synaescope/ui.cpp')
-rw-r--r--noatun-plugins/synaescope/ui.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/noatun-plugins/synaescope/ui.cpp b/noatun-plugins/synaescope/ui.cpp
index 2adc1f7..846a3b7 100644
--- a/noatun-plugins/synaescope/ui.cpp
+++ b/noatun-plugins/synaescope/ui.cpp
@@ -143,7 +143,7 @@ struct NoatunActionButton : public Button
action="";
}
- if (action)
+ if (!action.isNull())
{
action+="()";
DCOPClient c;
@@ -257,14 +257,14 @@ struct SliderBar : public UIObject
struct PopperUpper : public UIObject
{
- int maskAdd;
+ int tqmaskAdd;
PopperUpper(int _am,int _vm,double _x,double _y,
- double _width,double _height, int _maskAdd)
+ double _width,double _height, int _tqmaskAdd)
{
activeMask = _am; visibleMask = _vm;
x = _x; y = _y; width = _width; height = _height;
- maskAdd = _maskAdd;
+ tqmaskAdd = _tqmaskAdd;
}
int go(bool mouseDown,bool mouseClick, bool mouseOver,
@@ -282,7 +282,7 @@ struct PopperUpper : public UIObject
0x0200,
x*scale,y*scale,width*scale,height*scale);
- return mouseOver ? maskAdd : 0;
+ return mouseOver ? tqmaskAdd : 0;
}
void handleKey(char key, int &action)
@@ -330,14 +330,14 @@ void Interface::setupPalette()
#undef MAX
}
-//Visible mask
+//Visible tqmask
#define ALL 1
#define BUTTONBAR 2
#define TRACKBAR 4
#define DIALBAR 8
#define VOLUMEBAR 16
-//Active mask
+//Active tqmask
//#define ALL 1
#define PLAYING 2
#define PAUSED 4
@@ -346,7 +346,7 @@ void Interface::setupPalette()
#define OPEN 64
-// TODO Lay things out with parents and a stack, like QT
+// TODO Lay things out with tqparents and a stack, like QT
Interface::Interface()
{
static const float IconSize=0.2;