diff options
Diffstat (limited to 'kommander/editor/multilineeditorimpl.cpp')
-rw-r--r-- | kommander/editor/multilineeditorimpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/editor/multilineeditorimpl.cpp b/kommander/editor/multilineeditorimpl.cpp index 074a8471..5a9c4f1b 100644 --- a/kommander/editor/multilineeditorimpl.cpp +++ b/kommander/editor/multilineeditorimpl.cpp @@ -34,7 +34,7 @@ MultiLineEditor::MultiLineEditor( TQWidget *parent, TQWidget *editWidget, FormWi connect( buttonHelp, TQT_SIGNAL( clicked() ), MainWindow::self, TQT_SLOT( showDialogHelp() ) ); mlined = (TQMultiLineEdit*)editWidget; // #### complete list of properties here - preview->tqsetAlignment( mlined->tqalignment() ); + preview->setAlignment( mlined->alignment() ); preview->setMaxLines( mlined->maxLines() ); preview->setWordWrap( mlined->wordWrap() ); preview->setWrapColumnOrWidth( mlined->wrapColumnOrWidth() ); @@ -53,7 +53,7 @@ void MultiLineEditor::okClicked() void MultiLineEditor::applyClicked() { - PopulateMultiLineEditCommand *cmd = new PopulateMultiLineEditCommand( i18n("Set Text of '%1'" ).tqarg( mlined->name() ), + PopulateMultiLineEditCommand *cmd = new PopulateMultiLineEditCommand( i18n("Set Text of '%1'" ).arg( mlined->name() ), formwindow, mlined, preview->text() ); cmd->execute(); formwindow->commandHistory()->addCommand( cmd ); |