diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
commit | 395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch) | |
tree | 9829cadb79d2cc7c29a940627fadb28b11e54150 /noatun-plugins/noatunmadness | |
parent | 399f47c376fdf4d19192732a701ea9578d11619d (diff) | |
download | tdeaddons-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.am | 2 | ||||
-rw-r--r-- | noatun-plugins/noatunmadness/madness.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/noatunmadness/madness.h | 1 |
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(); |