diff options
Diffstat (limited to 'arts/gui/kde/kcombobox_impl.cpp')
-rw-r--r-- | arts/gui/kde/kcombobox_impl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arts/gui/kde/kcombobox_impl.cpp b/arts/gui/kde/kcombobox_impl.cpp index b73f57f9..eab55d0d 100644 --- a/arts/gui/kde/kcombobox_impl.cpp +++ b/arts/gui/kde/kcombobox_impl.cpp @@ -31,13 +31,13 @@ using namespace Arts; using namespace std; ComboBoxIntMapper::ComboBoxIntMapper(KComboBox_impl *impl, KComboBox *co) - : QObject( co, "map Qt signal to aRts" ) + : TQObject( co, "map Qt signal to aRts" ) ,impl(impl) { - connect(co, SIGNAL(activated(const QString &)), this, SLOT(activated(const QString &))); + connect(co, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(activated(const TQString &))); } -void ComboBoxIntMapper::activated(const QString & newValue) +void ComboBoxIntMapper::activated(const TQString & newValue) { impl->value(string(newValue.utf8().data())); } @@ -56,7 +56,7 @@ string KComboBox_impl::caption() void KComboBox_impl::caption(const string& newCaption) { - m_caption = QString::fromUtf8(newCaption.c_str()); + m_caption = TQString::fromUtf8(newCaption.c_str()); // FIXME: do something with the caption here } @@ -73,7 +73,7 @@ void KComboBox_impl::choices(const vector<string> & newChoices) _kcombobox->clear(); for(vector<string>::const_iterator it = m_choices.begin(); it != m_choices.end(); ++it) { - _kcombobox->insertItem(QString::fromUtf8(it->c_str())); + _kcombobox->insertItem(TQString::fromUtf8(it->c_str())); } if(visible()) choices_changed(newChoices); @@ -89,7 +89,7 @@ void KComboBox_impl::value(const string & newValue) { if(newValue != m_value.utf8().data()) { - m_value = QString::fromUtf8(newValue.c_str()); + m_value = TQString::fromUtf8(newValue.c_str()); for(unsigned int i = 0; i < m_choices.size(); ++i) { if(m_choices[i] == newValue) |