summaryrefslogtreecommitdiffstats
path: root/knewstuff/knewstuffbutton.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /knewstuff/knewstuffbutton.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewstuff/knewstuffbutton.cpp')
-rw-r--r--knewstuff/knewstuffbutton.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knewstuff/knewstuffbutton.cpp b/knewstuff/knewstuffbutton.cpp
index 97be51df5..3ad0d6ac6 100644
--- a/knewstuff/knewstuffbutton.cpp
+++ b/knewstuff/knewstuffbutton.cpp
@@ -27,10 +27,10 @@
namespace KNS
{
-Button::Button(const QString& what,
- const QString& providerList,
- const QString& resourceType,
- QWidget* parent, const char* name)
+Button::Button(const TQString& what,
+ const TQString& providerList,
+ const TQString& resourceType,
+ TQWidget* parent, const char* name)
: KPushButton(parent, name),
d(0),
m_providerList(providerList),
@@ -41,7 +41,7 @@ Button::Button(const QString& what,
init();
}
-Button::Button(QWidget* parent, const char* name)
+Button::Button(TQWidget* parent, const char* name)
: KPushButton(parent, name),
d(0),
m_downloadDialog(0)
@@ -53,20 +53,20 @@ Button::Button(QWidget* parent, const char* name)
void Button::init()
{
setIconSet(SmallIconSet("knewstuff"));
- connect(this, SIGNAL(clicked()), SLOT(showDialog()));
+ connect(this, TQT_SIGNAL(clicked()), TQT_SLOT(showDialog()));
}
-void Button::setButtonText(const QString& what)
+void Button::setButtonText(const TQString& what)
{
setText(i18n("Download New %1").arg(what));
}
-void Button::setProviderList(const QString& providerList)
+void Button::setProviderList(const TQString& providerList)
{
m_providerList = providerList;
}
-void Button::setResourceType(const QString& resourceType)
+void Button::setResourceType(const TQString& resourceType)
{
m_type = resourceType;
}