summaryrefslogtreecommitdiffstats
path: root/ksayit/src
diff options
context:
space:
mode:
Diffstat (limited to 'ksayit/src')
-rw-r--r--ksayit/src/DocTreeView.ui2
-rw-r--r--ksayit/src/KSayItView.ui2
-rw-r--r--ksayit/src/doctreeviewimpl.cpp32
-rw-r--r--ksayit/src/fx_setup.ui2
4 files changed, 19 insertions, 19 deletions
diff --git a/ksayit/src/DocTreeView.ui b/ksayit/src/DocTreeView.ui
index ed6f9b1..5e4da27 100644
--- a/ksayit/src/DocTreeView.ui
+++ b/ksayit/src/DocTreeView.ui
@@ -151,7 +151,7 @@
<slot access="protected">slotNewSection_5()</slot>
<slot>slotRightButtonPressed( TQListViewItem * i, const TQPoint &amp;, int )</slot>
</Q_SLOTS>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klistview.h</includehint>
</includehints>
diff --git a/ksayit/src/KSayItView.ui b/ksayit/src/KSayItView.ui
index adb821b..a95a90e 100644
--- a/ksayit/src/KSayItView.ui
+++ b/ksayit/src/KSayItView.ui
@@ -62,7 +62,7 @@
<slot>slotCopyAvailable(bool)</slot>
<slot>slotTextChanged()</slot>
</Q_SLOTS>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>ktextedit.h</includehint>
</includehints>
diff --git a/ksayit/src/doctreeviewimpl.cpp b/ksayit/src/doctreeviewimpl.cpp
index 5776917..db6ed32 100644
--- a/ksayit/src/doctreeviewimpl.cpp
+++ b/ksayit/src/doctreeviewimpl.cpp
@@ -553,21 +553,21 @@ void DocTreeViewImpl::recursiveBuildItemIdentifier(ListViewInterface* item, TQTe
if ( !item )
return;
- // 1. Do we have a tqparent (=tqparentItem)?
+ // 1. Do we have a tqparent (=parentItem)?
// If no -> return, if yes -> recursive call
- ListViewInterface *tqparentItem = NULL;
- tqparentItem = static_cast<ListViewInterface*>( item->tqparent() );
- if ( tqparentItem ){
- recursiveBuildItemIdentifier( tqparentItem, idstring );
+ ListViewInterface *parentItem = NULL;
+ parentItem = static_cast<ListViewInterface*>( item->tqparent() );
+ if ( parentItem ){
+ recursiveBuildItemIdentifier( parentItem, idstring );
} else {
// break recursion
return;
}
- // 2. Which child of the tqparentItem are we? Append no. to idstring.
+ // 2. Which child of the parentItem are we? Append no. to idstring.
int childno = 0;
TQString itemID = item->text(3);
- ListViewInterface *i = static_cast<ListViewInterface*>( tqparentItem->firstChild() );
+ ListViewInterface *i = static_cast<ListViewInterface*>( parentItem->firstChild() );
while( i ){
childno++;
if ( i->text(3) == itemID )
@@ -756,9 +756,9 @@ void DocTreeViewImpl::slotDeleteItem()
kdDebug(100200) << "DocTreeViewImpl::slotDeleteItem()" << endl;
ListViewInterface *itemToDelete = m_currentItem;
- ListViewInterface *tqparentItem = NULL;
- tqparentItem = static_cast<ListViewInterface*>(itemToDelete->tqparent());
- if ( !tqparentItem )
+ ListViewInterface *parentItem = NULL;
+ parentItem = static_cast<ListViewInterface*>(itemToDelete->tqparent());
+ if ( !parentItem )
return; // delete only items with tqparent
// try to delete bookmark
@@ -785,9 +785,9 @@ void DocTreeViewImpl::slotDeleteItem()
// show
m_rootItem->sort();
- listView->setSelected( tqparentItem, true );
- listView->ensureItemVisible( tqparentItem );
- slotItemClicked( tqparentItem );
+ listView->setSelected( parentItem, true );
+ listView->ensureItemVisible( parentItem );
+ slotItemClicked( parentItem );
}
@@ -966,14 +966,14 @@ void DocTreeViewImpl::slotNewTitle()
void DocTreeViewImpl::slotNewParagraph()
{
/* // Create Null element
- TQDomElement tqparentElement = TQDomElement();
+ TQDomElement parentElement = TQDomElement();
NodeList_type list;
list.clear();
m_currentItem->getNodes( list );
- tqparentElement = (list.front()).toElement();
+ parentElement = (list.front()).toElement();
- if ( tqparentElement.isNull() )
+ if ( parentElement.isNull() )
return;
*/
// New TreeView item
diff --git a/ksayit/src/fx_setup.ui b/ksayit/src/fx_setup.ui
index 056ceb0..77f2cd9 100644
--- a/ksayit/src/fx_setup.ui
+++ b/ksayit/src/fx_setup.ui
@@ -248,5 +248,5 @@
<slot>slotRemoveAll()</slot>
<slot>slotConfigureEffect(TQListBoxItem*)</slot>
</Q_SLOTS>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>