diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/editor/multilineeditorimpl.cpp | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/editor/multilineeditorimpl.cpp')
-rw-r--r-- | kommander/editor/multilineeditorimpl.cpp | 20 |
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() |