summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:58:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:58:34 +0000
commit1e52d17fecd0e1cc17a5db4083a5c4ff4fd608b9 (patch)
tree037b8c261cd230d1f037bc74285c81e36b70a736 /src
parentbf27a5258434dde9d059ba06fd82738bc8632abf (diff)
downloadgwenview-1e52d17fecd0e1cc17a5db4083a5c4ff4fd608b9.tar.gz
gwenview-1e52d17fecd0e1cc17a5db4083a5c4ff4fd608b9.zip
Fix Gwenview FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1239860 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src')
-rw-r--r--src/app/kipiinterface.cpp2
-rw-r--r--src/app/kipiinterface.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/app/kipiinterface.cpp b/src/app/kipiinterface.cpp
index fd37853..2afb1b5 100644
--- a/src/app/kipiinterface.cpp
+++ b/src/app/kipiinterface.cpp
@@ -120,7 +120,7 @@ struct KIPIInterfacePrivate {
KIPIInterface::KIPIInterface( TQWidget* tqparent, FileViewController* fileView)
-:KIPI::Interface(tqparent, "Gwenview kipi interface") {
+:KIPI::Interface(TQT_TQOBJECT(tqparent), "Gwenview kipi interface") {
d=new KIPIInterfacePrivate;
d->mFileView=fileView;
diff --git a/src/app/kipiinterface.h b/src/app/kipiinterface.h
index 825b418..1a2ef5e 100644
--- a/src/app/kipiinterface.h
+++ b/src/app/kipiinterface.h
@@ -22,6 +22,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define KIPIINTERFACE_H
#include <config.h>
+
+#ifdef Q_MOC_RUN
+#define GV_HAVE_KIPI
+#endif // Q_MOC_RUN
+
#ifdef GV_HAVE_KIPI
#include <libkipi/interface.h>