summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoCharSelectDia.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoCharSelectDia.h')
-rw-r--r--lib/kofficeui/KoCharSelectDia.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/lib/kofficeui/KoCharSelectDia.h b/lib/kofficeui/KoCharSelectDia.h
index dba5e76e..507c0704 100644
--- a/lib/kofficeui/KoCharSelectDia.h
+++ b/lib/kofficeui/KoCharSelectDia.h
@@ -23,9 +23,9 @@
#include <kdialogbase.h>
#include <koffice_export.h>
-class QWidget;
-class QGridLayout;
-class QPushButton;
+class TQWidget;
+class TQGridLayout;
+class TQPushButton;
class KCharSelect;
class KButtonBox;
@@ -36,27 +36,28 @@ class KButtonBox;
class KOFFICEUI_EXPORT KoCharSelectDia : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
// constructor - destructor
- KoCharSelectDia( QWidget *parent, const char *name, const QChar &_chr,
- const QString &_font, bool _enableFont, bool _modal=true );
+ KoCharSelectDia( TQWidget *tqparent, const char *name, const TQChar &_chr,
+ const TQString &_font, bool _enableFont, bool _modal=true );
//constructor when you want to insert multi char
- KoCharSelectDia( QWidget *parent, const char *name, const QString &_font,
- const QChar &_chr, bool _modal=true );
+ KoCharSelectDia( TQWidget *tqparent, const char *name, const TQString &_font,
+ const TQChar &_chr, bool _modal=true );
~KoCharSelectDia();
// select char dialog
- KOFFICEUI_EXPORT static bool selectChar( QString &_font, QChar &_chr, bool _enableFont = true, QWidget* parent = 0, const char* name = 0);
+ KOFFICEUI_EXPORT static bool selectChar( TQString &_font, TQChar &_chr, bool _enableFont = true, TQWidget* tqparent = 0, const char* name = 0);
// internal
- QChar chr() const;
- QString font() const;
+ TQChar chr() const;
+ TQString font() const;
void closeDialog();
private:
- void initDialog(const QChar &_chr, const QString &_font, bool _enableFont);
+ void initDialog(const TQChar &_chr, const TQString &_font, bool _enableFont);
private slots:
void slotUser1();
@@ -64,13 +65,13 @@ private slots:
protected:
// dialog objects
- QGridLayout *grid;
+ TQGridLayout *grid;
KButtonBox *bbox;
- QPushButton *bOk, *bCancel;
+ TQPushButton *bOk, *bCancel;
KCharSelect *charSelect;
signals:
- void insertChar(QChar,const QString &);
+ void insertChar(TQChar,const TQString &);
};
#endif