diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/gui/outputmethoddlg.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
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
Diffstat (limited to 'src/gui/outputmethoddlg.h')
-rw-r--r-- | src/gui/outputmethoddlg.h | 17 |
1 files changed, 9 insertions, 8 deletions
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; |