diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /src/k9mencodercmdgen.h | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k9mencodercmdgen.h')
-rw-r--r-- | src/k9mencodercmdgen.h | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/src/k9mencodercmdgen.h b/src/k9mencodercmdgen.h index c0b617a..f13e3a0 100644 --- a/src/k9mencodercmdgen.h +++ b/src/k9mencodercmdgen.h @@ -14,53 +14,54 @@ #define K9MENCODERCMDGEN_H #include "mencoderCmdGen.h" -#include <qscrollview.h> -#include <qgrid.h> -#include <qdom.h> -#include <qlayout.h> -#include <qlistview.h> -#include <qhbox.h> +#include <tqscrollview.h> +#include <tqgrid.h> +#include <tqdom.h> +#include <tqlayout.h> +#include <tqlistview.h> +#include <tqhbox.h> class _k9CheckListItem; class k9MencoderCmdGen : public MyDialog1 { Q_OBJECT + TQ_OBJECT public: - k9MencoderCmdGen(QWidget* parent, const QString &_cmd, bool modal = FALSE, WFlags fl = 0 ); + k9MencoderCmdGen(TQWidget* tqparent, const TQString &_cmd, bool modal = FALSE, WFlags fl = 0 ); ~k9MencoderCmdGen(); /*$PUBLIC_FUNCTIONS$*/ - static bool getMencoderOptions(QString &_cmd); + static bool getMencoderOptions(TQString &_cmd); public slots: /*$PUBLIC_SLOTS$*/ private: - QScrollView *m_scrollView; - QGrid *m_grid; - QGrid *m_hbox; + TQScrollView *m_scrollView; + TQGrid *m_grid; + TQGrid *m_hbox; int m_row,m_page,m_cpt; - QDomDocument m_doc; - QString m_cmd; + TQDomDocument m_doc; + TQString m_cmd; - void addWidgets(_k9CheckListItem *_item,QString _root,QString _cat); + void addWidgets(_k9CheckListItem *_item,TQString _root,TQString _cat); void loadXml(); void fillListView(); - void addInt(QDomElement _eOpt); - void addFloat(QDomElement _eOpt); - void addBool(QDomElement _eOpt); - void addString(QDomElement _eOpt); - void addList(QDomElement _eOpt); + void addInt(TQDomElement _eOpt); + void addFloat(TQDomElement _eOpt); + void addBool(TQDomElement _eOpt); + void addString(TQDomElement _eOpt); + void addList(TQDomElement _eOpt); - const QString & getCmd(const QString &_root); - void selectCodec(const QString &_root,const QString &_codec); - void parseCodecOptions(const QString &_root,const QString &_codec,const QString & _options); - void parseCmd(const QString &_cmd); + const TQString & getCmd(const TQString &_root); + void selectCodec(const TQString &_root,const TQString &_codec); + void parseCodecOptions(const TQString &_root,const TQString &_codec,const TQString & _options); + void parseCmd(const TQString &_cmd); protected: /*$PROTECTED_FUNCTIONS$*/ protected slots: /*$PROTECTED_SLOTS$*/ - void listViewCurrentChanged(QListViewItem*); + void listViewCurrentChanged(TQListViewItem*); }; #endif |