summaryrefslogtreecommitdiffstats
path: root/k9author/k9menu.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 23:37:00 +0000
commitb0e912c8b3d02a518fedda28c3180eb4794a7520 (patch)
tree07d344862562fab58cbe2df39d13d16f2e4d2bea /k9author/k9menu.h
parent4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff)
downloadk9copy-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 'k9author/k9menu.h')
-rw-r--r--k9author/k9menu.h67
1 files changed, 34 insertions, 33 deletions
diff --git a/k9author/k9menu.h b/k9author/k9menu.h
index 91e8a20..c6d783f 100644
--- a/k9author/k9menu.h
+++ b/k9author/k9menu.h
@@ -14,58 +14,59 @@
#include "k9common.h"
#include "k9config.h"
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qimage.h>
-#include <qfont.h>
-#include <qdom.h>
-#include <qcanvas.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqimage.h>
+#include <tqfont.h>
+#include <tqdom.h>
+#include <tqcanvas.h>
/**
@author Jean-Michel PETIT <k9copy@free.fr>
*/
class k9MenuButton;
-class k9Menu : public QObject {
+class k9Menu : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public slots:
- void setStartScript(const QString &);
- void setStartScript2(const QString &);
- void setEndScript(const QString& _value);
+ void setStartScript(const TQString &);
+ void setStartScript2(const TQString &);
+ void setEndScript(const TQString& _value);
public:
enum eFormat {
PAL=1,NTSC=2
};
- k9Menu(QObject *parent = 0, const char *name = 0);
+ k9Menu(TQObject *tqparent = 0, const char *name = 0);
~k9Menu();
k9MenuButton *addButton();
- void createMenus(QDomElement *_rootNode);
- void setWorkDir(const QString& _value);
- QString getWorkDir() const;
+ void createMenus(TQDomElement *_rootNode);
+ void setWorkDir(const TQString& _value);
+ TQString getWorkDir() const;
void setFormat(const eFormat& _value);
- void setMenuFileName(const QString& _value);
- QString getMenuFileName() const;
+ void setMenuFileName(const TQString& _value);
+ TQString getMenuFileName() const;
- void setCanvas(QCanvas* _value);
- QCanvas* getCanvas() const;
+ void setCanvas(TQCanvas* _value);
+ TQCanvas* getCanvas() const;
- QString getStartScript() const;
- QString getEndScript() const;
- QString getStartScript2() const;
+ TQString getStartScript() const;
+ TQString getEndScript() const;
+ TQString getStartScript2() const;
private:
- QPtrList <k9MenuButton> m_buttons;
- QString m_workDir;
- QString m_menuFileName;
+ TQPtrList <k9MenuButton> m_buttons;
+ TQString m_workDir;
+ TQString m_menuFileName;
eFormat m_format;
- QCanvas *m_canvas;
- QString m_startScript;
- QString m_startScript2;
- QString m_endScript;
+ TQCanvas *m_canvas;
+ TQString m_startScript;
+ TQString m_startScript2;
+ TQString m_endScript;
k9Config *m_config;
- void convertJpegToMpeg(const QString &_imageJpg,const QString &_imageMpg) ;
- void createAudio(const QString & _audioFile);
- void multiplex(const QString &_audio, const QString &_video, const QString _result);
- void spumux(const QString &_hiFileName,const QString &_mpgFileName);
- void appendMenu(QDomElement *_rootNode);
+ void convertJpegToMpeg(const TQString &_imageJpg,const TQString &_imageMpg) ;
+ void createAudio(const TQString & _audioFile);
+ void multiplex(const TQString &_audio, const TQString &_video, const TQString _result);
+ void spumux(const TQString &_hiFileName,const TQString &_mpgFileName);
+ void appendMenu(TQDomElement *_rootNode);
};
#endif