From bf7f88413be3831a9372d323d02fc0335b9f9188 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 26 May 2011 21:04:57 +0000 Subject: TQt4 port Gwenview This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gvcore/imagesavedialog.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/gvcore/imagesavedialog.h') diff --git a/src/gvcore/imagesavedialog.h b/src/gvcore/imagesavedialog.h index 0a31c21..6cd33f8 100644 --- a/src/gvcore/imagesavedialog.h +++ b/src/gvcore/imagesavedialog.h @@ -24,28 +24,29 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // KDE includes #include -class QString; -class QWidget; +class TQString; +class TQWidget; class KURL; namespace Gwenview { class ImageSaveDialog : public KFileDialog { Q_OBJECT + TQ_OBJECT public: - ImageSaveDialog(KURL& url,const QCString& imageFormat,QWidget* parent); - QCString imageFormat() const { return mImageFormat; } + ImageSaveDialog(KURL& url,const TQCString& imageFormat,TQWidget* tqparent); + TQCString imageFormat() const { return mImageFormat; } protected slots: void accept(); private slots: - void updateImageFormat(const QString&); + void updateImageFormat(const TQString&); private: KURL& mURL; - QCString mImageFormat; - QMap mImageFormats; + TQCString mImageFormat; + TQMap mImageFormats; }; } // namespace -- cgit v1.2.1