summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets')
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcombo.cpp4
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebase.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneyaccounttreebase.h4
-rw-r--r--kmymoney2/widgets/kmymoneycalculator.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneycalendar.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneycategory.h2
-rw-r--r--kmymoney2/widgets/register.cpp2
7 files changed, 9 insertions, 9 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccountcombo.cpp b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
index 897e72b..58cc205 100644
--- a/kmymoney2/widgets/kmymoneyaccountcombo.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
@@ -171,7 +171,7 @@ void KMyMoneyAccountCombo::mousePressEvent(TQMouseEvent *e)
}
bool hit = rect().contains( e->pos() );
if ( hit ) { // mouse press on button
- m_mlbDown = TRUE; // left mouse button down
+ m_mlbDown = true; // left mouse button down
emit pressed();
}
}
@@ -184,7 +184,7 @@ void KMyMoneyAccountCombo::mouseReleaseEvent(TQMouseEvent *e)
}
if ( !m_mlbDown )
return;
- m_mlbDown = FALSE; // left mouse button up
+ m_mlbDown = false; // left mouse button up
emit released();
if ( rect().contains( e->pos() ) ) { // mouse release on button
emit clicked();
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
index c6016b3..31173c9 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
+++ b/kmymoney2/widgets/kmymoneyaccounttreebase.cpp
@@ -383,7 +383,7 @@ void KMyMoneyAccountTreeBase::slotOpenFolder(void)
{
m_autoopenTimer.stop();
if ( m_dropItem && !m_dropItem->isOpen() ) {
- m_dropItem->setOpen( TRUE );
+ m_dropItem->setOpen( true );
m_dropItem->repaint();
}
}
diff --git a/kmymoney2/widgets/kmymoneyaccounttreebase.h b/kmymoney2/widgets/kmymoneyaccounttreebase.h
index 086b87b..8a7b90f 100644
--- a/kmymoney2/widgets/kmymoneyaccounttreebase.h
+++ b/kmymoney2/widgets/kmymoneyaccounttreebase.h
@@ -351,9 +351,9 @@ public:
int compare(TQListViewItem* i, int col, bool ascending) const;
/**
- * If o is TRUE all child items are shown initially. The user can
+ * If o is true all child items are shown initially. The user can
* hide them by clicking the - icon to the left of the item. If
- * o is FALSE, the children of this item are initially hidden.
+ * o is false, the children of this item are initially hidden.
* The user can show them by clicking the + icon to the left of the item.
*
* Overrides TDEListViewItem::setOpen() and exchanges the value field
diff --git a/kmymoney2/widgets/kmymoneycalculator.cpp b/kmymoney2/widgets/kmymoneycalculator.cpp
index e540de4..9e26999 100644
--- a/kmymoney2/widgets/kmymoneycalculator.cpp
+++ b/kmymoney2/widgets/kmymoneycalculator.cpp
@@ -164,7 +164,7 @@ void kMyMoneyCalculator::commaClicked(void)
{
if(operand.length() == 0)
operand = "0";
- if(operand.contains('.', FALSE) == 0)
+ if(operand.contains('.', false) == 0)
operand.append('.');
if(operand.length() > 16)
diff --git a/kmymoney2/widgets/kmymoneycalendar.cpp b/kmymoney2/widgets/kmymoneycalendar.cpp
index 228b5e2..7c5549c 100644
--- a/kmymoney2/widgets/kmymoneycalendar.cpp
+++ b/kmymoney2/widgets/kmymoneycalendar.cpp
@@ -174,7 +174,7 @@ kMyMoneyCalendar::eventFilter(TQObject *o, TQEvent *e )
{
TQApplication::sendEvent( table, e );
table->setFocus();
- return TRUE; // eat event
+ return true; // eat event
}
}
return TQFrame::eventFilter( o, e );
diff --git a/kmymoney2/widgets/kmymoneycategory.h b/kmymoney2/widgets/kmymoneycategory.h
index 90bd4a4..6f3068d 100644
--- a/kmymoney2/widgets/kmymoneycategory.h
+++ b/kmymoney2/widgets/kmymoneycategory.h
@@ -111,7 +111,7 @@ public:
/**
* Reimplemented for internal reasons. No API change
*/
- virtual void reparent( TQWidget *parent, WFlags, const TQPoint &, bool showIt = FALSE );
+ virtual void reparent( TQWidget *parent, WFlags, const TQPoint &, bool showIt = false );
/**
* Reimplemented for internal reasons. No API change.
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index 788fee3..b6dafcd 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -1438,7 +1438,7 @@ void Register::repaintItems(RegisterItem* first, RegisterItem* last)
TQApplication::eventLoop()->processEvents(TQEventLoop::ExcludeUserInput, 10);
}
m_lastRepaintRect = r;
- TQApplication::postEvent( viewport(), new TQPaintEvent( r, FALSE ) );
+ TQApplication::postEvent( viewport(), new TQPaintEvent( r, false ) );
}