diff options
Diffstat (limited to 'kommander/widgets/fileselector.cpp')
-rw-r--r-- | kommander/widgets/fileselector.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kommander/widgets/fileselector.cpp b/kommander/widgets/fileselector.cpp index a7c29673..f6806e5b 100644 --- a/kommander/widgets/fileselector.cpp +++ b/kommander/widgets/fileselector.cpp @@ -35,7 +35,7 @@ #include "fileselector.h" FileSelector::FileSelector(TQWidget * a_parent, const char *a_name) - : TQWidget(a_parent, a_name), KommanderWidget(this) + : TQWidget(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)) { TQStringList states; states << "default"; @@ -50,9 +50,9 @@ FileSelector::FileSelector(TQWidget * a_parent, const char *a_name) m_boxLayout->addWidget(m_lineEdit); m_boxLayout->addWidget(m_selectButton); - setSizePolicy(m_lineEdit->sizePolicy()); - m_lineEdit->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding)); - m_selectButton->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding)); + tqsetSizePolicy(m_lineEdit->sizePolicy()); + m_lineEdit->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding)); + m_selectButton->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding)); connect(m_selectButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(makeSelection())); @@ -222,13 +222,13 @@ TQString FileSelector::handleDCOP(int function, const TQStringList& args) return m_lineEdit->selectedText(); case DCOP::setSelection: { - int f = m_lineEdit->text().find(args[0]); + int f = m_lineEdit->text().tqfind(args[0]); if (f != -1) m_lineEdit->setSelection(f, args[0].length()); break; } case DCOP::clear: - setWidgetText(TQString::null); + setWidgetText(TQString()); break; default: return KommanderWidget::handleDCOP(function, args); |