summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/noatunmadness
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/noatunmadness')
-rw-r--r--noatun-plugins/noatunmadness/Makefile.am2
-rw-r--r--noatun-plugins/noatunmadness/madness.cpp2
-rw-r--r--noatun-plugins/noatunmadness/madness.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/noatun-plugins/noatunmadness/Makefile.am b/noatun-plugins/noatunmadness/Makefile.am
index 973ae51..e3a6d17 100644
--- a/noatun-plugins/noatunmadness/Makefile.am
+++ b/noatun-plugins/noatunmadness/Makefile.am
@@ -1,4 +1,4 @@
-INCLUDES= $(all_includes)
+INCLUDES= $(all_includes) -I$(kde_includes)/kde
kde_module_LTLIBRARIES = noatunmadness.la
noatunmadness_la_SOURCES = madness.cpp
diff --git a/noatun-plugins/noatunmadness/madness.cpp b/noatun-plugins/noatunmadness/madness.cpp
index 7027029..81fa2c4 100644
--- a/noatun-plugins/noatunmadness/madness.cpp
+++ b/noatun-plugins/noatunmadness/madness.cpp
@@ -55,7 +55,7 @@ void Madness::update()
for (; it != mWindowList.end(); ++it)
{
TQRect area=KWin::info(*it).frameGeometry;
- if (!mOriginalPositions.contains(*it))
+ if (!mOriginalPositions.tqcontains(*it))
mOriginalPositions.insert(*it, area.topLeft());
}
}
diff --git a/noatun-plugins/noatunmadness/madness.h b/noatun-plugins/noatunmadness/madness.h
index 8076d0a..c48c676 100644
--- a/noatun-plugins/noatunmadness/madness.h
+++ b/noatun-plugins/noatunmadness/madness.h
@@ -10,6 +10,7 @@
class Madness : public TQObject, public MonoFFTScope, public Plugin
{
Q_OBJECT
+ TQ_OBJECT
public:
Madness();
virtual ~Madness();