diff options
Diffstat (limited to 'kexi/plugins/macros/kexipart/keximacrotextview.cpp')
-rw-r--r-- | kexi/plugins/macros/kexipart/keximacrotextview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/plugins/macros/kexipart/keximacrotextview.cpp b/kexi/plugins/macros/kexipart/keximacrotextview.cpp index e35ee5b2..540dcc39 100644 --- a/kexi/plugins/macros/kexipart/keximacrotextview.cpp +++ b/kexi/plugins/macros/kexipart/keximacrotextview.cpp @@ -45,11 +45,11 @@ KexiMacroTextView::KexiMacroTextView(KexiMainWindow *mainwin, TQWidget *parent, : KexiMacroView(mainwin, parent, macro, "KexiMacroTextView") , d( new Private() ) { - TQHBoxLayout* tqlayout = new TQHBoxLayout(this); + TQHBoxLayout* layout = new TQHBoxLayout(this); d->editor = new KTextEdit(this); d->editor->setTextFormat(TQt::PlainText); d->editor->setWordWrap(TQTextEdit::NoWrap); - tqlayout->addWidget(d->editor); + layout->addWidget(d->editor); connect(d->editor, TQT_SIGNAL(textChanged()), this, TQT_SLOT(editorChanged())); } @@ -72,7 +72,7 @@ bool KexiMacroTextView::loadData() return false; } - kdDebug() << TQString("KexiMacroTextView::loadData()\n%1").tqarg(data) << endl; + kdDebug() << TQString("KexiMacroTextView::loadData()\n%1").arg(data) << endl; //d->editor->blockSignals(true); d->editor->setText(data); //d->editor->blockSignals(false); @@ -82,7 +82,7 @@ bool KexiMacroTextView::loadData() tristate KexiMacroTextView::storeData(bool /*dontAsk*/) { - kexipluginsdbg << TQString("KexiMacroTextView::storeData() %1 [%2]\n%3").tqarg(parentDialog()->partItem()->name()).tqarg(parentDialog()->id()).tqarg(d->editor->text()) << endl; + kexipluginsdbg << TQString("KexiMacroTextView::storeData() %1 [%2]\n%3").arg(parentDialog()->partItem()->name()).arg(parentDialog()->id()).arg(d->editor->text()) << endl; return storeDataBlock( d->editor->text() ); } |