diff options
Diffstat (limited to 'kmymoney2/widgets')
-rw-r--r-- | kmymoney2/widgets/kmymoneycombo.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneywizard.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/widgets/registeritem.h | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/widgets/kmymoneycombo.cpp b/kmymoney2/widgets/kmymoneycombo.cpp index f8b6489..761b537 100644 --- a/kmymoney2/widgets/kmymoneycombo.cpp +++ b/kmymoney2/widgets/kmymoneycombo.cpp @@ -588,7 +588,7 @@ public: return it.key(); } } - return TQString(); + return TQString::null; } }; diff --git a/kmymoney2/widgets/kmymoneywizard.cpp b/kmymoney2/widgets/kmymoneywizard.cpp index ff00c78..f446acf 100644 --- a/kmymoney2/widgets/kmymoneywizard.cpp +++ b/kmymoney2/widgets/kmymoneywizard.cpp @@ -106,7 +106,7 @@ bool KMyMoneyWizardPage::isComplete(void) const const TQString& KMyMoneyWizardPage::helpContext(void) const { - return TQString(); + return TQString::null; } KMyMoneyWizard::KMyMoneyWizard(TQWidget *parent, const char *name, bool modal, WFlags f) : diff --git a/kmymoney2/widgets/registeritem.h b/kmymoney2/widgets/registeritem.h index e9c21d3..83b9a04 100644 --- a/kmymoney2/widgets/registeritem.h +++ b/kmymoney2/widgets/registeritem.h @@ -88,14 +88,14 @@ public: virtual const TQDate& sortPostDate(void) const { return nullDate; } virtual int sortSamePostDate(void) const = 0; virtual const TQDate& sortEntryDate(void) const { return nullDate; } - virtual const TQString& sortPayee(void) const { return TQString(); } + virtual const TQString& sortPayee(void) const { return TQString::null; } virtual const MyMoneyMoney& sortValue(void) const { return nullValue; } - virtual const TQString& sortNumber(void) const { return TQString(); } - virtual const TQString& sortEntryOrder(void) const { return TQString(); } + virtual const TQString& sortNumber(void) const { return TQString::null; } + virtual const TQString& sortEntryOrder(void) const { return TQString::null; } virtual CashFlowDirection sortType(void) const { return Deposit; } - virtual const TQString& sortCategory(void) const { return TQString(); } + virtual const TQString& sortCategory(void) const { return TQString::null; } virtual MyMoneySplit::reconcileFlagE sortReconcileState(void) const { return MyMoneySplit::MaxReconcileState; } - virtual const TQString& sortSecurity(void) const { return TQString(); } + virtual const TQString& sortSecurity(void) const { return TQString::null; } /** * This method sets the row offset of the item in the register |