summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kmymoneysplittable.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:17 -0600
commit1f9d00360b9018301630ce062d7dda0c6583edfb (patch)
tree1013b917f9a8ad41ed928d62250e9bfe1ed91414 /kmymoney2/dialogs/kmymoneysplittable.cpp
parent252fce5a2a5384702fbcc1c9987284d7bd2e6943 (diff)
downloadkmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.tar.gz
kmymoney-1f9d00360b9018301630ce062d7dda0c6583edfb.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 252fce5a2a5384702fbcc1c9987284d7bd2e6943.
Diffstat (limited to 'kmymoney2/dialogs/kmymoneysplittable.cpp')
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index fecc7e0..f549d4c 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -30,7 +30,7 @@
#include <tqcursor.h>
#include <tqapplication.h>
#include <tqtimer.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqeventloop.h>
// ----------------------------------------------------------------------------
@@ -125,7 +125,7 @@ const TQColor kMyMoneySplitTable::rowBackgroundColor(const int row) const
void kMyMoneySplitTable::paintCell(TQPainter *p, int row, int col, const TQRect& r, bool /*selected*/)
{
- TQColorGroup g = colorGroup();
+ TQColorGroup g = tqcolorGroup();
TQColor textColor;
g.setColor(TQColorGroup::Base, rowBackgroundColor(row));
@@ -452,7 +452,7 @@ void kMyMoneySplitTable::contentsMouseDoubleClickEvent( TQMouseEvent *e )
break;
case 2:
- editWidget = dynamic_cast<KLineEdit*> (m_editAmount->focusWidget());
+ editWidget = dynamic_cast<KLineEdit*> (m_editAmount->tqfocusWidget());
break;
default:
@@ -493,7 +493,7 @@ void kMyMoneySplitTable::setNumRows(int irows)
#if 0
// recalculate row height hint
KMyMoneyCategory cat;
- height = TQMAX(cat.sizeHint().height(), height);
+ height = TQMAX(cat.tqsizeHint().height(), height);
#endif
verticalHeader()->setUpdatesEnabled(false);
@@ -568,7 +568,7 @@ void kMyMoneySplitTable::slotUpdateData(const MyMoneyTransaction& t)
unsigned width = fontMetrics().width(amountTxt);
valfield->setMinimumWidth(width);
- width = valfield->minimumSizeHint().width();
+ width = valfield->tqminimumSizeHint().width();
if(width > m_amountWidth)
m_amountWidth = width;
@@ -969,7 +969,7 @@ bool kMyMoneySplitTable::focusNextPrevChild(bool next)
TQWidget *w = 0;
TQWidget *currentWidget;
- m_tabOrderWidgets.find(tqApp->focusWidget());
+ m_tabOrderWidgets.find(tqApp->tqfocusWidget());
currentWidget = m_tabOrderWidgets.current();
w = next ? m_tabOrderWidgets.next() : m_tabOrderWidgets.prev();