From 395a904bff7b4d6ead445c342f7ac0c5fbf29121 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 17:00:31 +0000 Subject: 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 --- noatun-plugins/noatunmadness/Makefile.am | 2 +- noatun-plugins/noatunmadness/madness.cpp | 2 +- noatun-plugins/noatunmadness/madness.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'noatun-plugins/noatunmadness') 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(); -- cgit v1.2.1