summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Preview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmahjongg/Preview.h')
-rw-r--r--kmahjongg/Preview.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kmahjongg/Preview.h b/kmahjongg/Preview.h
index 96aae3ef..0c4b37c2 100644
--- a/kmahjongg/Preview.h
+++ b/kmahjongg/Preview.h
@@ -12,11 +12,12 @@
class TQComboBox;
class TQPixmap;
-class FrameImage: public QFrame
+class FrameImage: public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- FrameImage(TQWidget *parent=NULL, const char *name = NULL);
+ FrameImage(TQWidget *tqparent=NULL, const char *name = NULL);
~FrameImage();
void setGeometry(int x, int y, int w, int h);
TQPixmap *getPreviewPixmap() {return thePixmap;}
@@ -43,11 +44,12 @@ private:
class Preview: public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
enum PreviewType {background, tileset, board, theme};
- Preview(TQWidget* parent);
+ Preview(TQWidget* tqparent);
~Preview();
void initialise(const PreviewType type);
@@ -61,7 +63,7 @@ protected:
virtual void drawPreview();
void applyChange() ;
void renderBackground(const TQString &bg);
- void renderTiles(const TQString &file, const TQString &layout);
+ void renderTiles(const TQString &file, const TQString &tqlayout);
void paintEvent( TQPaintEvent* pa );
signals:
@@ -69,7 +71,7 @@ signals:
void loadTileset(const TQString &);
void loadBackground(const TQString &, bool);
void loadBoard(const TQString &);
- void layoutChange();
+ void tqlayoutChange();
public slots:
void selectionChanged(int which);