summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/purledit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/purledit.cpp')
-rw-r--r--lib/widgets/propeditor/purledit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/purledit.cpp b/lib/widgets/propeditor/purledit.cpp
index 64e4d0c7..d27a0552 100644
--- a/lib/widgets/propeditor/purledit.cpp
+++ b/lib/widgets/propeditor/purledit.cpp
@@ -30,8 +30,8 @@
namespace PropertyLib{
-PUrlEdit::PUrlEdit(Mode mode, MultiProperty* property, TQWidget* parent, const char* name)
- :PropertyWidget(property, parent, name)
+PUrlEdit::PUrlEdit(Mode mode, MultiProperty* property, TQWidget* tqparent, const char* name)
+ :PropertyWidget(property, tqparent, name)
{
TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0);
#ifndef PURE_QT
@@ -47,7 +47,7 @@ PUrlEdit::PUrlEdit(Mode mode, MultiProperty* property, TQWidget* parent, const c
m_mode = mode;
connect( m_select, TQT_SIGNAL(clicked()),this,TQT_SLOT(select()));
#endif
- m_edit->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ m_edit->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
}
TQVariant PUrlEdit::value() const
@@ -84,7 +84,7 @@ void PUrlEdit::select()
if( m_mode == Directory )
m_url = TQFileDialog::getExistingDirectory( m_url,this);
else
- m_url = TQFileDialog::getOpenFileName(m_url, TQString::null, this);
+ m_url = TQFileDialog::getOpenFileName(m_url, TQString(), this);
updateProperty(m_url);
m_edit->setText(m_url);
#endif