summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src/dlgspecchar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kwordquiz/src/dlgspecchar.cpp')
-rw-r--r--kwordquiz/src/dlgspecchar.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kwordquiz/src/dlgspecchar.cpp b/kwordquiz/src/dlgspecchar.cpp
index e35fe236..79dd2da0 100644
--- a/kwordquiz/src/dlgspecchar.cpp
+++ b/kwordquiz/src/dlgspecchar.cpp
@@ -16,13 +16,13 @@
#include "dlgspecchar.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kcharselect.h>
#include <kdebug.h>
-DlgSpecChar::DlgSpecChar( QWidget *parent, const char *name, const QString &_font, const QChar &_chr, bool _modal )
+DlgSpecChar::DlgSpecChar( TQWidget *parent, const char *name, const TQString &_font, const TQChar &_chr, bool _modal )
: KDialogBase( Plain, i18n("Select Character"), User1 | Cancel, User1 , parent, name, _modal )
{
initDialog(_chr,_font,true);
@@ -32,16 +32,16 @@ DlgSpecChar::DlgSpecChar( QWidget *parent, const char *name, const QString &_fon
}
-void DlgSpecChar::initDialog(const QChar &_chr, const QString &_font, bool /*_enableFont*/)
+void DlgSpecChar::initDialog(const TQChar &_chr, const TQString &_font, bool /*_enableFont*/)
{
- QWidget *page = plainPage();
+ TQWidget *page = plainPage();
- grid = new QGridLayout( page, 1, 1, KDialog::marginHint(), KDialog::spacingHint() );
+ grid = new TQGridLayout( page, 1, 1, KDialog::marginHint(), KDialog::spacingHint() );
int t = (_chr.unicode()/256);
charSelect = new KCharSelect( page, "", _font, _chr, t);
- connect(charSelect, SIGNAL(doubleClicked()),this, SLOT(slotDoubleClicked()));
+ connect(charSelect, TQT_SIGNAL(doubleClicked()),this, TQT_SLOT(slotDoubleClicked()));
charSelect->resize( charSelect->sizeHint() );
charSelect->enableFontCombo( false );
grid->addWidget( charSelect, 0, 0 );
@@ -61,7 +61,7 @@ void DlgSpecChar::closeDialog()
KDialogBase::close();
}
-QChar DlgSpecChar::chr()
+TQChar DlgSpecChar::chr()
{
return charSelect->chr();
}