summaryrefslogtreecommitdiffstats
path: root/src/modules/eventeditor/eventeditor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit9ca32ef31a2566af48c06f258722738df92366af (patch)
treec847db3bf1bb88b7863fed0cc60eef6bf641306a /src/modules/eventeditor/eventeditor.cpp
parent72aaee9802d447ee21340b011856b9b355a58f1a (diff)
downloadkvirc-9ca32ef31a2566af48c06f258722738df92366af.tar.gz
kvirc-9ca32ef31a2566af48c06f258722738df92366af.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/eventeditor/eventeditor.cpp')
-rw-r--r--src/modules/eventeditor/eventeditor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp
index d967bb74..fc7a4d47 100644
--- a/src/modules/eventeditor/eventeditor.cpp
+++ b/src/modules/eventeditor/eventeditor.cpp
@@ -141,7 +141,7 @@ void KviEventEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int c
if(it)
{
m_pContextPopup->clear();
- if(it->tqparent())
+ if(it->parent())
{
TQString tmp;
if(!(((KviEventHandlerListViewItem *)it)->m_bEnabled))
@@ -210,7 +210,7 @@ void KviEventEditor::addHandlerForCurrentEvent()
KviTalListViewItem * it = m_pListView->selectedItem();
if(it)
{
- if(it->tqparent() == 0)
+ if(it->parent() == 0)
{
TQString buffer = __tr2qs("default");
getUniqueHandlerName((KviEventListViewItem *)it,buffer);
@@ -284,7 +284,7 @@ void KviEventEditor::saveLastEditedItem()
TQString buffer = m_pNameEditor->text();
if(!KviTQString::equalCI(buffer,m_pLastEditedItem->m_szName))
{
- getUniqueHandlerName((KviEventListViewItem *)(m_pLastEditedItem->tqparent()),buffer);
+ getUniqueHandlerName((KviEventListViewItem *)(m_pLastEditedItem->parent()),buffer);
}
m_pLastEditedItem->m_szName = buffer;
@@ -298,7 +298,7 @@ void KviEventEditor::selectionChanged(KviTalListViewItem * it)
{
__range_valid(m_bOneTimeSetupDone);
saveLastEditedItem();
- if(it->tqparent())
+ if(it->parent())
{
m_pLastEditedItem = (KviEventHandlerListViewItem *)it;
m_pNameEditor->setEnabled(true);
@@ -330,14 +330,14 @@ void KviEventEditor::showEvent(TQShowEvent *e)
void KviEventEditor::getExportEventBuffer(TQString &buffer,KviEventHandlerListViewItem * it)
{
- if(!it->tqparent())return;
+ if(!it->parent())return;
TQString szBuf = it->m_szBuffer;
KviCommandFormatter::blockFromBuffer(szBuf);
buffer = "event(";
- buffer += ((KviEventListViewItem *)(it->tqparent()))->m_szName;
+ buffer += ((KviEventListViewItem *)(it->parent()))->m_szName;
buffer += ",";
buffer += it->m_szName;
buffer += ")\n";
@@ -348,7 +348,7 @@ void KviEventEditor::getExportEventBuffer(TQString &buffer,KviEventHandlerListVi
{
buffer += "\n";
buffer += "eventctl -d ";
- buffer += ((KviEventListViewItem *)(it->tqparent()))->m_szName;
+ buffer += ((KviEventListViewItem *)(it->parent()))->m_szName;
buffer += " ";
buffer += it->m_szName;
}
@@ -362,7 +362,7 @@ void KviEventEditor::exportCurrentHandler()
TQString szName = TQDir::homeDirPath();
if(!szName.endsWith(TQString(KVI_PATH_SEPARATOR)))szName += KVI_PATH_SEPARATOR;
- szName += ((KviEventListViewItem *)(m_pLastEditedItem->tqparent()))->m_szName;
+ szName += ((KviEventListViewItem *)(m_pLastEditedItem->parent()))->m_szName;
szName += ".";
szName += m_pLastEditedItem->m_szName;
szName += ".kvs";