diff options
-rw-r--r-- | src/app/kipiinterface.cpp | 2 | ||||
-rw-r--r-- | src/app/kipiinterface.h | 5 |
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> |