From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: TQt4 port ktechlab This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/outputmethoddlg.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/gui/outputmethoddlg.h') diff --git a/src/gui/outputmethoddlg.h b/src/gui/outputmethoddlg.h index 14dff25..1bf4879 100644 --- a/src/gui/outputmethoddlg.h +++ b/src/gui/outputmethoddlg.h @@ -43,8 +43,8 @@ class OutputMethodInfo bool addToProject() const { return m_bAddToProject; } void setAddToProject( bool add ) { m_bAddToProject = add; } - QString picID() const { return m_picID; } - void setPicID( const QString & id ) { m_picID = id; } + TQString picID() const { return m_picID; } + void setPicID( const TQString & id ) { m_picID = id; } KURL outputFile() const { return m_outputFile; } void setOutputFile( const KURL & outputFile ) { m_outputFile = outputFile; } @@ -52,7 +52,7 @@ class OutputMethodInfo protected: Method::Type m_method; bool m_bAddToProject; - QString m_picID; + TQString m_picID; KURL m_outputFile; }; @@ -62,20 +62,21 @@ class OutputMethodInfo class OutputMethodDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /** * @param Caption The caption of the dialog window * @param inputURL Used for saving/restoring previous options the user has selected for this file; set this to null if temporary file * @param showPICSelect Whether to show the combo boxes for selecting a PIC */ - OutputMethodDlg( const QString & caption, const KURL & inputURL, bool showPICSelect = false, QWidget *parent = 0, const char *name = 0); + OutputMethodDlg( const TQString & caption, const KURL & inputURL, bool showPICSelect = false, TQWidget *tqparent = 0, const char *name = 0); ~OutputMethodDlg(); - void setOutputExtension( const QString & outputExtension ); - void setFilter( const QString &filter ); + void setOutputExtension( const TQString & outputExtension ); + void setFilter( const TQString &filter ); void setMethod( OutputMethodInfo::Method::Type m ); void setOutputFile( const KURL & out ); - void setPicID( const QString & id ); + void setPicID( const TQString & id ); virtual void reject(); virtual void accept(); @@ -87,7 +88,7 @@ class OutputMethodDlg : public KDialogBase protected: OutputMethodWidget *m_widget; - QString m_outputExtension; + TQString m_outputExtension; KURL m_inputURL; OutputMethodInfo m_outputMethodInfo; bool m_bAccepted; -- cgit v1.2.1