summaryrefslogtreecommitdiffstats
path: root/knode/knconfigwidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knconfigwidgets.cpp')
-rw-r--r--knode/knconfigwidgets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/knode/knconfigwidgets.cpp b/knode/knconfigwidgets.cpp
index dd7012c2c..a915fe17f 100644
--- a/knode/knconfigwidgets.cpp
+++ b/knode/knconfigwidgets.cpp
@@ -2131,7 +2131,7 @@ KNConfig::XHeaderConfDialog::XHeaderConfDialog(const TQString &h, TQWidget *p, c
new TQLabel(":", page);
v_alue=new KLineEdit(page);
- int pos=h.tqfind(": ", 2);
+ int pos=h.find(": ", 2);
if(pos!=-1) {
n_ame->setText(h.mid(2, pos-2));
pos+=2;
@@ -2157,7 +2157,7 @@ TQString KNConfig::XHeaderConfDialog::result()
{
TQString value = v_alue->text();
// just in case someone pastes a newline
- value.tqreplace( '\n', ' ' );
+ value.replace( '\n', ' ' );
return TQString( "X-%1: %2" ).tqarg( n_ame->text() ).tqarg( value );
}