diff options
Diffstat (limited to 'kio/kfile/kurlrequester.cpp')
-rw-r--r-- | kio/kfile/kurlrequester.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kio/kfile/kurlrequester.cpp b/kio/kfile/kurlrequester.cpp index aa102548a..ae8f5b623 100644 --- a/kio/kfile/kurlrequester.cpp +++ b/kio/kfile/kurlrequester.cpp @@ -132,7 +132,7 @@ public: } /** - * tqreplaces ~user or $FOO, if necessary + * replaces ~user or $FOO, if necessary */ TQString url() { TQString txt = combo ? combo->currentText() : edit->text(); @@ -143,7 +143,7 @@ public: comp = dynamic_cast<KURLCompletion*>(edit->completionObject()); if ( comp ) - return comp->tqreplacedPath( txt ); + return comp->replacedPath( txt ); else return txt; } @@ -206,7 +206,7 @@ void KURLRequester::init() d->edit = new KLineEdit( this, "line edit" ); myButton = new KURLDragPushButton( this, "kfile button"); - TQIconSet iconSet = SmallIconSet(TQString::tqfromLatin1("fileopen")); + TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("fileopen")); TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal ); myButton->setIconSet( iconSet ); myButton->setFixedSize( pixMap.width()+8, pixMap.height()+8 ); @@ -340,7 +340,7 @@ TQString KURLRequester::filter( ) const KFileDialog * KURLRequester::fileDialog() const { if ( !myFileDialog ) { - TQWidget *p = tqparentWidget(); + TQWidget *p = parentWidget(); myFileDialog = new KFileDialog( TQString::null, d->fileDialogFilter, p, "file dialog", true ); @@ -402,7 +402,7 @@ KPushButton * KURLRequester::button() const KEditListBox::CustomEditor KURLRequester::customEditor() { - tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Preferred, + setSizePolicy(TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed)); KLineEdit *edit = d->edit; |