summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/charselectview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabel/charselectview.cpp')
-rw-r--r--kbabel/kbabel/charselectview.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kbabel/kbabel/charselectview.cpp b/kbabel/kbabel/charselectview.cpp
index 12cd765f..2e58b084 100644
--- a/kbabel/kbabel/charselectview.cpp
+++ b/kbabel/kbabel/charselectview.cpp
@@ -33,11 +33,11 @@
#include "charselectview.h"
-#include <qlayout.h>
-#include <qwhatsthis.h>
-#include <qlabel.h>
-#include <qspinbox.h>
-#include <qscrollview.h>
+#include <tqlayout.h>
+#include <tqwhatsthis.h>
+#include <tqlabel.h>
+#include <tqspinbox.h>
+#include <tqscrollview.h>
#include <kconfig.h>
#include <kcursor.h>
@@ -49,24 +49,24 @@
using namespace KBabel;
-CharacterSelectorView::CharacterSelectorView(KBCatalog* catalog,QWidget *parent, Project::Ptr project)
+CharacterSelectorView::CharacterSelectorView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
: KBCatalogView(catalog,parent,project)
{
- QVBoxLayout* layout = new QVBoxLayout( this );
- layout->setResizeMode( QLayout::Minimum );
+ TQVBoxLayout* layout = new TQVBoxLayout( this );
+ layout->setResizeMode( TQLayout::Minimum );
layout->setSpacing( KDialog::spacingHint() );
- QHBox* bar = new QHBox(this);
+ TQHBox* bar = new TQHBox(this);
bar->setSpacing( KDialog::spacingHint() );
layout->addWidget (bar);
- QLabel *lTable = new QLabel( i18n( "Table:" ), bar );
- _tableNum = new QSpinBox( 0, 255, 1, bar );
+ TQLabel *lTable = new TQLabel( i18n( "Table:" ), bar );
+ _tableNum = new TQSpinBox( 0, 255, 1, bar );
lTable->setBuddy( _tableNum );
bar->setStretchFactor( _tableNum, 1 );
- QScrollView* scroll = new QScrollView( this );
+ TQScrollView* scroll = new TQScrollView( this );
_table = new KCharSelectTable(scroll,"charselector","helvetica",' ',0);
_table->setNumCols(16);
_table->setNumRows(16);
@@ -74,13 +74,13 @@ CharacterSelectorView::CharacterSelectorView(KBCatalog* catalog,QWidget *parent,
scroll->addChild(_table);
layout->addWidget (scroll);
- connect( _table, SIGNAL( doubleClicked() ), this, SLOT( emitChar() ) );
- connect( _tableNum, SIGNAL( valueChanged(int) ), this, SLOT( setTab(int) ));
+ connect( _table, TQT_SIGNAL( doubleClicked() ), this, TQT_SLOT( emitChar() ) );
+ connect( _tableNum, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( setTab(int) ));
- connect( _catalog, SIGNAL( signalFileOpened(bool) ), this, SLOT (setDisabled (bool)));
- connect( _catalog, SIGNAL( signalFileOpened(bool) ), _table, SLOT (setDisabled (bool)));
+ connect( _catalog, TQT_SIGNAL( signalFileOpened(bool) ), this, TQT_SLOT (setDisabled (bool)));
+ connect( _catalog, TQT_SIGNAL( signalFileOpened(bool) ), _table, TQT_SLOT (setDisabled (bool)));
- QWhatsThis::add(this,
+ TQWhatsThis::add(this,
i18n("<qt><p><b>Character Selector</b></p>"
"<p>This tool allows to insert special characters using "
"double click.</p></qt>"));
@@ -101,7 +101,7 @@ void CharacterSelectorView::saveSettings(KConfig* config)
KConfigGroupSaver saver(config, "KBCharSelector" );
config->writeEntry( "TableNum", _tableNum->value() );
- config->writeEntry( "SelectedChar", QString(_table->chr()) );
+ config->writeEntry( "SelectedChar", TQString(_table->chr()) );
}
void CharacterSelectorView::restoreSettings(KConfig* config)