summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kcombobox_impl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/gui/kde/kcombobox_impl.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/gui/kde/kcombobox_impl.cpp')
-rw-r--r--arts/gui/kde/kcombobox_impl.cpp12
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)