summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoCharSelectDia.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kofficeui/KoCharSelectDia.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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