summaryrefslogtreecommitdiffstats
path: root/k9author/k9menuedit.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/k9menuedit.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/k9menuedit.h')
-rw-r--r--k9author/k9menuedit.h53
1 files changed, 27 insertions, 26 deletions
diff --git a/k9author/k9menuedit.h b/k9author/k9menuedit.h
index f11a6b7..c5a1cd3 100644
--- a/k9author/k9menuedit.h
+++ b/k9author/k9menuedit.h
@@ -14,8 +14,8 @@
#define K9MENUEDIT_H
#include "../k9author/menuEdit.h"
-#include <qcanvas.h>
-#include <qimage.h>
+#include <tqcanvas.h>
+#include <tqimage.h>
class k9MenuButton;
class k9MenuEdit;
@@ -26,59 +26,60 @@ class k9MenuEditor;
class k9MenuEdit : public menuEdit {
Q_OBJECT
+ TQ_OBJECT
public:
enum eFormat {PAL=1,NTSC=2};
enum eMenuType {ROOTMENU,TITLEMENU};
- k9MenuEdit(QWidget* parent = 0, const char* name = 0,QCanvas *_canvas=0);
+ k9MenuEdit(TQWidget* tqparent = 0, const char* name = 0,TQCanvas *_canvas=0);
~k9MenuEdit();
/*$PUBLIC_FUNCTIONS$*/
- void setBackgroundImage(const QImage &_image);
- void setText(const QString &_value);
- void setFont(const QFont &_value);
- void setColor(const QColor &_value);
- void updateTextPos(const QPoint &_point);
+ void setBackgroundImage(const TQImage &_image);
+ void setText(const TQString &_value);
+ void setFont(const TQFont &_value);
+ void setColor(const TQColor &_value);
+ void updateTextPos(const TQPoint &_point);
public slots:
/*$PUBLIC_SLOTS$*/
void itemSelected();
- QCanvasText* getText() const;
+ TQCanvasText* getText() const;
void setFormat(const eFormat& _value);
k9MenuEdit::eFormat getFormat() const;
- QCanvas *getCanvas();
- void setCanvas(QCanvas* _value);
+ TQCanvas *getCanvas();
+ void setCanvas(TQCanvas* _value);
void titleSelected(k9Title *);
void rootSelected(k9NewDVD *);
protected:
/*$PROTECTED_FUNCTIONS$*/
virtual void bFontClick();
- virtual void urBackgroundSelected(const QString &_fileName);
- virtual void cbColorChanged(const QColor &_color);
- virtual void leTitleChanged(const QString &_value);
+ virtual void urBackgroundSelected(const TQString &_fileName);
+ virtual void cbColorChanged(const TQColor &_color);
+ virtual void leTitleChanged(const TQString &_value);
virtual void cbPosTitleActivated(int _value);
virtual void bAddTextClick();
virtual void cbStartActivated (int _value);
virtual void cbEndActivated (int _value);
k9MenuEditor *m_menuEditor;
- QCanvas *m_canvas;
- QImage m_background;
- QCanvasText *m_text;
+ TQCanvas *m_canvas;
+ TQImage m_background;
+ TQCanvasText *m_text;
eFormat m_format;
int m_imageHeight;
eMenuType m_menuType;
- QStringList m_startScripts;
- QStringList m_endScripts;
+ TQStringList m_startScripts;
+ TQStringList m_endScripts;
bool m_noUpdate;
protected slots:
/*$PROTECTED_SLOTS$*/
signals:
- void backgroundImageChanged(const QImage &);
- void textChanged(const QString&);
- void startScriptChanged(const QString&);
- void endScriptChanged(const QString&);
- void textColorChanged(const QColor &);
- void textFontChanged(const QFont&);
- void updatePos(const QPoint &);
+ void backgroundImageChanged(const TQImage &);
+ void textChanged(const TQString&);
+ void startScriptChanged(const TQString&);
+ void endScriptChanged(const TQString&);
+ void textColorChanged(const TQColor &);
+ void textFontChanged(const TQFont&);
+ void updatePos(const TQPoint &);
};
#endif