diff options
Diffstat (limited to 'konversation/src/multilineedit.cpp')
-rw-r--r-- | konversation/src/multilineedit.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/konversation/src/multilineedit.cpp b/konversation/src/multilineedit.cpp index 19e1eef..b4af548 100644 --- a/konversation/src/multilineedit.cpp +++ b/konversation/src/multilineedit.cpp @@ -13,23 +13,23 @@ #include "multilinetextedit.h" #include "konversationapplication.h" -#include <qlayout.h> +#include <tqlayout.h> #include <klocale.h> -QString MultilineEdit::returnText; // static +TQString MultilineEdit::returnText; // static -MultilineEdit::MultilineEdit(QWidget* parent, const QString& text) : +MultilineEdit::MultilineEdit(TQWidget* parent, const TQString& text) : KDialogBase(parent,"multiline_edit_dialog",true,i18n("Edit Multiline Paste"), KDialogBase::User1 | KDialogBase::Ok | KDialogBase::Cancel,KDialogBase::Ok,true, KGuiItem(i18n("Add &Quotation Indicators"))) { // Create the top level widget - QWidget* page=new QWidget(this); + TQWidget* page=new TQWidget(this); setMainWidget(page); // Add the layout to the widget - QVBoxLayout* dialogLayout=new QVBoxLayout(page); + TQVBoxLayout* dialogLayout=new TQVBoxLayout(page); dialogLayout->setSpacing(spacingHint()); // add the text editor textEditor=new MultilineTextEdit(page,"multiline_text_editor"); @@ -50,7 +50,7 @@ MultilineEdit::~MultilineEdit() void MultilineEdit::slotCancel() { - returnText=QString(); + returnText=TQString(); KDialogBase::slotCancel(); } @@ -62,13 +62,13 @@ void MultilineEdit::slotOk() void MultilineEdit::slotUser1() { - QStringList lines=QStringList::split("\n",textEditor->text(),true); - for( QStringList::iterator it=lines.begin() ; it!=lines.end() ; ++it ) + TQStringList lines=TQStringList::split("\n",textEditor->text(),true); + for( TQStringList::iterator it=lines.begin() ; it!=lines.end() ; ++it ) (*it) = "> " + (*it); textEditor->setText(lines.join("\n")); } -QString MultilineEdit::edit(QWidget* parent, const QString& text) +TQString MultilineEdit::edit(TQWidget* parent, const TQString& text) { MultilineEdit dlg(parent,text); dlg.exec(); |