summaryrefslogtreecommitdiffstats
path: root/lib/kross/main/wdgscriptsmanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /lib/kross/main/wdgscriptsmanager.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'lib/kross/main/wdgscriptsmanager.cpp')
-rw-r--r--lib/kross/main/wdgscriptsmanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kross/main/wdgscriptsmanager.cpp b/lib/kross/main/wdgscriptsmanager.cpp
index e521023e..488b7409 100644
--- a/lib/kross/main/wdgscriptsmanager.cpp
+++ b/lib/kross/main/wdgscriptsmanager.cpp
@@ -93,9 +93,9 @@ class ToolTip : public TQToolTip
virtual void maybeTip(const TQPoint& p) {
ListItem* item = dynamic_cast<ListItem*>( m_parent->itemAt(p) );
if(item) {
- TQRect r( m_parent->itemRect(item) );
+ TQRect r( m_parent->tqitemRect(item) );
if(r.isValid() && item->action()) {
- tip(r, TQString("<qt>%1</qt>").arg(item->action()->toolTip()));
+ tip(r, TQString("<qt>%1</qt>").tqarg(item->action()->toolTip()));
}
}
}
@@ -287,7 +287,7 @@ void WdgScriptsManager::slotUninstallScript()
if( KMessageBox::warningContinueCancel(0,
i18n("Uninstall the script package \"%1\" and delete the package's folder \"%2\"?")
- .arg(item->action()->text()).arg(packagepath),
+ .tqarg(item->action()->text()).tqarg(packagepath),
i18n("Uninstall")) != KMessageBox::Continue )
{
return;
@@ -321,7 +321,7 @@ void WdgScriptsManager::slotGetNewScript()
{
#ifdef KROSS_SUPPORT_NEWSTUFF
const TQString appname = KApplication::kApplication()->name();
- const TQString type = TQString("%1/script").arg(appname);
+ const TQString type = TQString("%1/script").tqarg(appname);
if(! d->newstuff) {
d->newstuff = new ScriptNewStuff(d->m_scripguiclient, type);
@@ -336,7 +336,7 @@ void WdgScriptsManager::slotGetNewScript()
TQObject::connect(p, TQT_SIGNAL(providersLoaded(Provider::List*)),
d, TQT_SLOT(slotProviders(Provider::List*)));
- p->load(type, TQString("http://download.kde.org/khotnewstuff/%1scripts-providers.xml").arg(appname));
+ p->load(type, TQString("http://download.kde.org/khotnewstuff/%1scripts-providers.xml").tqarg(appname));
d->exec();
#endif
}