From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kview/photobook/photobook.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'kview/photobook/photobook.h') diff --git a/kview/photobook/photobook.h b/kview/photobook/photobook.h index adae0e23..51065027 100644 --- a/kview/photobook/photobook.h +++ b/kview/photobook/photobook.h @@ -4,7 +4,7 @@ Copyright (c) 2004 Charles Samuels This file is hereby licensed under the GNU General Public License version 2 or later at your option. - This file is licensed under the Qt Public License version 1 with the + This file is licensed under the TQt Public License version 1 with the condition that the licensed will be governed under the Laws of California (USA) instead of Norway. Disputes will be settled in Santa Clara county courts. @@ -50,15 +50,15 @@ Copyright (c) 2004 Charles Samuels class Previews; class PhotoBookPart; -class PhotoBook : public QSplitter +class PhotoBook : public TQSplitter { -Q_OBJECT +TQ_OBJECT Previews *mList; KAction *mFit; KParts::ReadOnlyPart *mViewer; public: - PhotoBook(TQWidget *parent, PhotoBookPart *part, const char *name=0); + PhotoBook(TQWidget *tqparent, PhotoBookPart *part, const char *name=0); void openURL(const KURL &url); void updateButton(bool, bool ); @@ -73,13 +73,14 @@ signals: class Previews : public KFileIconView { Q_OBJECT + TQ_OBJECT KDirLister mDirLister; PhotoBook *mPhotoBook; TQStringList mMimeTypes; public: - Previews(PhotoBook *parent, const TQStringList &mimetypes); + Previews(PhotoBook *tqparent, const TQStringList &mimetypes); ~Previews(); void openURL(const KURL &url); @@ -106,14 +107,15 @@ private slots: class PhotoBookPart : public KParts::ReadOnlyPart { Q_OBJECT + TQ_OBJECT PhotoBook *bv; KAction *m_pPreviousAction; KAction *m_pNextAction; public: PhotoBookPart( - TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name=0, + TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name=0, const TQStringList& args = TQStringList() ); ~PhotoBookPart(); @@ -131,6 +133,7 @@ typedef KParts::GenericFactory PhotoBookFactory; class PhotoBookBrowserExtension : public KParts::BrowserExtension { Q_OBJECT + TQ_OBJECT public: PhotoBookBrowserExtension(PhotoBookPart *p); }; -- cgit v1.2.1