summaryrefslogtreecommitdiffstats
path: root/lib/kross/main
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /lib/kross/main
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz
koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kross/main')
-rw-r--r--lib/kross/main/wdgscriptsmanager.cpp16
-rw-r--r--lib/kross/main/wdgscriptsmanager.h2
-rw-r--r--lib/kross/main/wdgscriptsmanagerbase.ui2
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/kross/main/wdgscriptsmanager.cpp b/lib/kross/main/wdgscriptsmanager.cpp
index 7b9a927d..781f344b 100644
--- a/lib/kross/main/wdgscriptsmanager.cpp
+++ b/lib/kross/main/wdgscriptsmanager.cpp
@@ -57,8 +57,8 @@ namespace Kross { namespace Api {
class ScriptNewStuff : public KNewStuffSecure
{
public:
- ScriptNewStuff(ScriptGUIClient* scripguiclient, const TQString& type, TQWidget *tqparentWidget = 0)
- : KNewStuffSecure(type, tqparentWidget)
+ ScriptNewStuff(ScriptGUIClient* scripguiclient, const TQString& type, TQWidget *parentWidget = 0)
+ : KNewStuffSecure(type, parentWidget)
, m_scripguiclient(scripguiclient) {}
virtual ~ScriptNewStuff() {}
private:
@@ -73,11 +73,11 @@ class ListItem : public TQListViewItem
ScriptActionCollection* m_collection;
ScriptAction::Ptr m_action;
public:
- ListItem(TQListView* tqparentview, ScriptActionCollection* collection)
- : TQListViewItem(tqparentview), m_collection(collection), m_action(0) {}
+ ListItem(TQListView* parentview, ScriptActionCollection* collection)
+ : TQListViewItem(parentview), m_collection(collection), m_action(0) {}
- ListItem(ListItem* tqparentitem, TQListViewItem* afteritem, ScriptAction::Ptr action)
- : TQListViewItem(tqparentitem, afteritem), m_collection( tqparentitem->collection() ), m_action(action) {}
+ ListItem(ListItem* parentitem, TQListViewItem* afteritem, ScriptAction::Ptr action)
+ : TQListViewItem(parentitem, afteritem), m_collection( parentitem->collection() ), m_action(action) {}
ScriptAction::Ptr action() const { return m_action; }
ScriptActionCollection* collection() const { return m_collection; }
@@ -206,12 +206,12 @@ void WdgScriptsManager::addItem(ScriptActionCollection* collection)
lastitem = addItem(*it, i, lastitem);
}
-TQListViewItem* WdgScriptsManager::addItem(ScriptAction::Ptr action, TQListViewItem* tqparentitem, TQListViewItem* afteritem)
+TQListViewItem* WdgScriptsManager::addItem(ScriptAction::Ptr action, TQListViewItem* parentitem, TQListViewItem* afteritem)
{
if(! action)
return 0;
- ListItem* i = new ListItem(dynamic_cast<ListItem*>(tqparentitem), afteritem, action);
+ ListItem* i = new ListItem(dynamic_cast<ListItem*>(parentitem), afteritem, action);
i->setText(0, action->text()); // FIXME: i18nise it for ko2.0
//i->setText(1, action->getDescription()); // FIXME: i18nise it for ko2.0
//i->setText(2, action->name());
diff --git a/lib/kross/main/wdgscriptsmanager.h b/lib/kross/main/wdgscriptsmanager.h
index b953f862..34976373 100644
--- a/lib/kross/main/wdgscriptsmanager.h
+++ b/lib/kross/main/wdgscriptsmanager.h
@@ -53,7 +53,7 @@ class WdgScriptsManager : public WdgScriptsManagerBase
private:
WdgScriptsManagerPrivate* d;
void addItem(ScriptActionCollection* collection);
- TQListViewItem* addItem(ScriptAction::Ptr, TQListViewItem* tqparentitem, TQListViewItem* afteritem);
+ TQListViewItem* addItem(ScriptAction::Ptr, TQListViewItem* parentitem, TQListViewItem* afteritem);
};
}}
diff --git a/lib/kross/main/wdgscriptsmanagerbase.ui b/lib/kross/main/wdgscriptsmanagerbase.ui
index 22ad3867..379fb2db 100644
--- a/lib/kross/main/wdgscriptsmanagerbase.ui
+++ b/lib/kross/main/wdgscriptsmanagerbase.ui
@@ -233,7 +233,7 @@
<data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data>
</image>
</images>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klistview.h</includehint>
<includehint>ktoolbar.h</includehint>