summaryrefslogtreecommitdiffstats
path: root/lib/kross/main/wdgscriptsmanager.cpp
diff options
context:
space:
mode:
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 488b7409..e521023e 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->tqitemRect(item) );
+ TQRect r( m_parent->itemRect(item) );
if(r.isValid() && item->action()) {
- tip(r, TQString("<qt>%1</qt>").tqarg(item->action()->toolTip()));
+ tip(r, TQString("<qt>%1</qt>").arg(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\"?")
- .tqarg(item->action()->text()).tqarg(packagepath),
+ .arg(item->action()->text()).arg(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").tqarg(appname);
+ const TQString type = TQString("%1/script").arg(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").tqarg(appname));
+ p->load(type, TQString("http://download.kde.org/khotnewstuff/%1scripts-providers.xml").arg(appname));
d->exec();
#endif
}