summaryrefslogtreecommitdiffstats
path: root/kommander/editor/multilineeditorimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/multilineeditorimpl.cpp')
-rw-r--r--kommander/editor/multilineeditorimpl.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kommander/editor/multilineeditorimpl.cpp b/kommander/editor/multilineeditorimpl.cpp
index 1b823d3f..2a0ec9b7 100644
--- a/kommander/editor/multilineeditorimpl.cpp
+++ b/kommander/editor/multilineeditorimpl.cpp
@@ -23,16 +23,16 @@
#include "command.h"
#include "mainwindow.h"
-#include <qmultilineedit.h>
-#include <qpushbutton.h>
+#include <tqmultilineedit.h>
+#include <tqpushbutton.h>
#include <klocale.h>
-MultiLineEditor::MultiLineEditor( QWidget *parent, QWidget *editWidget, FormWindow *fw )
+MultiLineEditor::MultiLineEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: MultiLineEditorBase( parent, 0, true ), formwindow( fw )
{
- connect( buttonHelp, SIGNAL( clicked() ), MainWindow::self, SLOT( showDialogHelp() ) );
- mlined = (QMultiLineEdit*)editWidget;
+ connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) );
+ mlined = (TQMultiLineEdit*)editWidget;
// #### complete list of properties here
preview->setAlignment( mlined->alignment() );
preview->setMaxLines( mlined->maxLines() );
@@ -61,7 +61,7 @@ void MultiLineEditor::applyClicked()
}
-TextEditor::TextEditor( QWidget *parent, const QString &text )
+TextEditor::TextEditor( TQWidget *parent, const TQString &text )
: MultiLineEditorBase( parent, 0, true )
{
buttonApply->hide();
@@ -71,11 +71,11 @@ TextEditor::TextEditor( QWidget *parent, const QString &text )
preview->selectAll();
}
-QString TextEditor::getText( QWidget *parent, const QString &text )
+TQString TextEditor::getText( TQWidget *parent, const TQString &text )
{
TextEditor dlg( parent, text );
- if ( dlg.exec() == QDialog::Accepted ) {
- QString txt = dlg.preview->text();
+ if ( dlg.exec() == TQDialog::Accepted ) {
+ TQString txt = dlg.preview->text();
int i = txt.length() - 1;
while ( i >= 0 &&
( txt[ i ] == '\n' || txt[ i ] == ' ' || txt[ i ] == '\t' || txt[ i ].isSpace() ) ) {
@@ -84,7 +84,7 @@ QString TextEditor::getText( QWidget *parent, const QString &text )
}
return txt;
}
- return QString::null;
+ return TQString::null;
}
void TextEditor::okClicked()