summaryrefslogtreecommitdiffstats
path: root/src/modules/raweditor
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/raweditor')
-rw-r--r--src/modules/raweditor/raweditor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/raweditor/raweditor.cpp b/src/modules/raweditor/raweditor.cpp
index 521c994c..b710cb40 100644
--- a/src/modules/raweditor/raweditor.cpp
+++ b/src/modules/raweditor/raweditor.cpp
@@ -146,7 +146,7 @@ void KviRawEditor::itemPressed(KviTalListViewItem *it,const TQPoint &pnt,int col
m_pContextPopup->clear();
if(it)
{
- if(it->tqparent())
+ if(it->parent())
{
if(!(((KviRawHandlerListViewItem *)it)->m_bEnabled))
m_pContextPopup->insertItem(
@@ -245,7 +245,7 @@ void KviRawEditor::addHandlerForCurrentRaw()
KviTalListViewItem * it = m_pListView->selectedItem();
if(it)
{
- if(it->tqparent() == 0)
+ if(it->parent() == 0)
{
TQString buffer = __tr2qs("default");
getUniqueHandlerName((KviRawListViewItem *)it,buffer);
@@ -318,7 +318,7 @@ void KviRawEditor::saveLastEditedItem()
TQString buffer = m_pNameEditor->text();
if(!KviTQString::equalCI(buffer,m_pLastEditedItem->m_szName))
{
- getUniqueHandlerName((KviRawListViewItem *)(m_pLastEditedItem->tqparent()),buffer);
+ getUniqueHandlerName((KviRawListViewItem *)(m_pLastEditedItem->parent()),buffer);
}
m_pLastEditedItem->m_szName = buffer;
@@ -332,7 +332,7 @@ void KviRawEditor::selectionChanged(KviTalListViewItem * it)
{
__range_valid(m_bOneTimeSetupDone);
saveLastEditedItem();
- if(it->tqparent())
+ if(it->parent())
{
m_pLastEditedItem = (KviRawHandlerListViewItem *)it;
m_pNameEditor->setEnabled(true);
@@ -355,14 +355,14 @@ void KviRawEditor::showEvent(TQShowEvent *e)
void KviRawEditor::getExportEventBuffer(TQString &buffer,KviRawHandlerListViewItem * it)
{
- if(!it->tqparent())return;
+ if(!it->parent())return;
TQString szBuf = it->m_szBuffer;
KviCommandFormatter::blockFromBuffer(szBuf);
buffer = "event(";
- buffer += ((KviRawListViewItem *)(it->tqparent()))->m_szName;
+ buffer += ((KviRawListViewItem *)(it->parent()))->m_szName;
buffer += ",";
buffer += it->m_szName;
buffer += ")\n";
@@ -373,7 +373,7 @@ void KviRawEditor::getExportEventBuffer(TQString &buffer,KviRawHandlerListViewIt
{
buffer += "\n";
buffer += "eventctl -d ";
- buffer += ((KviRawListViewItem *)(it->tqparent()))->m_szName;
+ buffer += ((KviRawListViewItem *)(it->parent()))->m_szName;
buffer += " ";
buffer += it->m_szName;
}
@@ -388,7 +388,7 @@ void KviRawEditor::exportCurrentHandler()
TQString szName = TQDir::homeDirPath();
if(!szName.endsWith(TQString(KVI_PATH_SEPARATOR)))szName += KVI_PATH_SEPARATOR;
szName += "raw";
- szName += ((KviRawListViewItem *)(m_pLastEditedItem->tqparent()))->m_szName;
+ szName += ((KviRawListViewItem *)(m_pLastEditedItem->parent()))->m_szName;
szName += ".";
szName += m_pLastEditedItem->m_szName;
szName += ".kvs";