summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editor.cpp
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/koproperty/editor.cpp
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/koproperty/editor.cpp')
-rw-r--r--lib/koproperty/editor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp
index 880ccc9c..3c0a0940 100644
--- a/lib/koproperty/editor.cpp
+++ b/lib/koproperty/editor.cpp
@@ -474,9 +474,9 @@ Editor::slotPropertyChanged(Set& set, Property& property)
}
/* if (widget->property() && (TQWidget*)d->currentWidget==widget && d->currentItem->tqparent()) {
- EditorItem *tqparentItem = static_cast<EditorItem*>(d->currentItem->tqparent());
+ EditorItem *parentItem = static_cast<EditorItem*>(d->currentItem->tqparent());
const int thisType = ;
- && tqparentItem->property()->type()==Rect) {
+ && parentItem->property()->type()==Rect) {
//changing x or y components of Rect type shouldn't change width or height, respectively
if (thisType==Rect_X) {
EditorItem *rectWidthItem = static_cast<EditorItem*>(d->currentItem->nextSibling()->nextSibling());
@@ -981,8 +981,8 @@ Editor::handleKeyPress(TQKeyEvent* ev)
void
Editor::updateFont()
{
- setFont(tqparentWidget()->font());
- d->baseRowHeight = TQFontMetrics(tqparentWidget()->font()).height() + itemMargin() * 2;
+ setFont(parentWidget()->font());
+ d->baseRowHeight = TQFontMetrics(parentWidget()->font()).height() + itemMargin() * 2;
if (!d->currentItem)
d->undoButton->resize(d->baseRowHeight, d->baseRowHeight);
else {