summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoCharSelectDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoCharSelectDia.cpp')
-rw-r--r--lib/kofficeui/KoCharSelectDia.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/kofficeui/KoCharSelectDia.cpp b/lib/kofficeui/KoCharSelectDia.cpp
index 5a0105c6..a7f09b3f 100644
--- a/lib/kofficeui/KoCharSelectDia.cpp
+++ b/lib/kofficeui/KoCharSelectDia.cpp
@@ -20,7 +20,7 @@
#include "KoCharSelectDia.h"
#include "KoCharSelectDia.moc"
-#include <qlayout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kcharselect.h>
@@ -29,8 +29,8 @@
/* class KoCharSelectDia */
/******************************************************************/
-KoCharSelectDia::KoCharSelectDia( QWidget *parent, const char *name, const QChar &_chr, const QString &_font, bool _enableFont , bool _modal)
- : KDialogBase( Plain, i18n("Select Character"), Ok | Cancel, Ok , parent, name, _modal )
+KoCharSelectDia::KoCharSelectDia( TQWidget *tqparent, const char *name, const TQChar &_chr, const TQString &_font, bool _enableFont , bool _modal)
+ : KDialogBase( Plain, i18n("Select Character"), Ok | Cancel, Ok , tqparent, name, _modal )
{
initDialog(_chr,_font,_enableFont);
@@ -40,8 +40,8 @@ KoCharSelectDia::KoCharSelectDia( QWidget *parent, const char *name, const QChar
setButtonOK( okItem );
}
-KoCharSelectDia::KoCharSelectDia( QWidget *parent, const char *name, const QString &_font, const QChar &_chr, bool _modal )
- : KDialogBase( Plain, i18n("Select Character"), User1 | Close, User1 , parent, name, _modal )
+KoCharSelectDia::KoCharSelectDia( TQWidget *tqparent, const char *name, const TQString &_font, const TQChar &_chr, bool _modal )
+ : KDialogBase( Plain, i18n("Select Character"), User1 | Close, User1 , tqparent, name, _modal )
{
initDialog(_chr,_font,true);
@@ -50,15 +50,15 @@ KoCharSelectDia::KoCharSelectDia( QWidget *parent, const char *name, const QStri
}
-void KoCharSelectDia::initDialog(const QChar &_chr, const QString &_font, bool /*_enableFont*/)
+void KoCharSelectDia::initDialog(const TQChar &_chr, const TQString &_font, bool /*_enableFont*/)
{
- QWidget *page = plainPage();
+ TQWidget *page = plainPage();
- grid = new QGridLayout( page, 1, 1, 0, KDialog::spacingHint() );
+ grid = new TQGridLayout( page, 1, 1, 0, KDialog::spacingHint() );
charSelect = new KCharSelect( page, "", _font, _chr );
- connect(charSelect, SIGNAL(doubleClicked()),this, SLOT(slotDoubleClicked()));
- charSelect->resize( charSelect->sizeHint() );
+ connect(charSelect, TQT_SIGNAL(doubleClicked()),this, TQT_SLOT(slotDoubleClicked()));
+ charSelect->resize( charSelect->tqsizeHint() );
charSelect->enableFontCombo( true );
grid->addWidget( charSelect, 0, 0 );
@@ -77,11 +77,11 @@ void KoCharSelectDia::closeDialog()
KDialogBase::close();
}
-bool KoCharSelectDia::selectChar( QString &_font, QChar &_chr, bool _enableFont, QWidget* parent, const char* name )
+bool KoCharSelectDia::selectChar( TQString &_font, TQChar &_chr, bool _enableFont, TQWidget* tqparent, const char* name )
{
bool res = false;
- KoCharSelectDia *dlg = new KoCharSelectDia( parent, name, _chr, _font, _enableFont );
+ KoCharSelectDia *dlg = new KoCharSelectDia( tqparent, name, _chr, _font, _enableFont );
dlg->setFocus();
if ( dlg->exec() == Accepted )
{
@@ -95,12 +95,12 @@ bool KoCharSelectDia::selectChar( QString &_font, QChar &_chr, bool _enableFont,
return res;
}
-QChar KoCharSelectDia::chr() const
+TQChar KoCharSelectDia::chr() const
{
return charSelect->chr();
}
-QString KoCharSelectDia::font() const
+TQString KoCharSelectDia::font() const
{
return charSelect->font();
}