summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/noatunmadness
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /noatun-plugins/noatunmadness
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();