summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/register.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit902ba103f2215bcefa22d62b1c9138aa4b88891c (patch)
tree63ef88424b9be33a31e5a8de61343fb8d7633937 /kmymoney2/widgets/register.h
parent7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (diff)
downloadkmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.tar.gz
kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/widgets/register.h')
-rw-r--r--kmymoney2/widgets/register.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmymoney2/widgets/register.h b/kmymoney2/widgets/register.h
index c155fc7..f73b888 100644
--- a/kmymoney2/widgets/register.h
+++ b/kmymoney2/widgets/register.h
@@ -101,7 +101,7 @@ public:
void removeOrphans(void) {
TQWidgetContainer::iterator it_w;
for(it_w = begin(); it_w != end(); ) {
- if((*it_w) && (*it_w)->tqparent())
+ if((*it_w) && (*it_w)->parent())
++it_w;
else {
delete (*it_w);
@@ -116,7 +116,7 @@ public:
class GroupMarker : public RegisterItem
{
public:
- GroupMarker(Register* tqparent, const TQString& txt = TQString());
+ GroupMarker(Register* parent, const TQString& txt = TQString());
~GroupMarker();
void setText(const TQString& txt) { m_txt = txt; }
const TQString& text(void) const { return m_txt; }
@@ -152,7 +152,7 @@ protected:
class FancyDateGroupMarker : public GroupMarker
{
public:
- FancyDateGroupMarker(Register* tqparent, const TQDate& date, const TQString& txt);
+ FancyDateGroupMarker(Register* parent, const TQDate& date, const TQString& txt);
virtual const TQDate& sortPostDate(void) const { return m_date; }
virtual const TQDate& sortEntryDate(void) const { return m_date; }
@@ -164,7 +164,7 @@ private:
class StatementGroupMarker : public FancyDateGroupMarker
{
public:
- StatementGroupMarker(Register* tqparent, CashFlowDirection dir, const TQDate& date, const TQString& txt );
+ StatementGroupMarker(Register* parent, CashFlowDirection dir, const TQDate& date, const TQString& txt );
CashFlowDirection sortType(void) const { return m_dir; }
virtual int sortSamePostDate(void) const { return 3; }
private:
@@ -174,7 +174,7 @@ private:
class SimpleDateGroupMarker : public FancyDateGroupMarker
{
public:
- SimpleDateGroupMarker(Register* tqparent, const TQDate& date, const TQString& txt);
+ SimpleDateGroupMarker(Register* parent, const TQDate& date, const TQString& txt);
void paintRegisterCell(TQPainter* painter, int row, int col, const TQRect& r, bool selected, const TQColorGroup& cg);
int rowHeightHint(void) const;
virtual const char* className(void) { return "SimpleDateGroupMarker"; }
@@ -183,7 +183,7 @@ public:
class TypeGroupMarker : public GroupMarker
{
public:
- TypeGroupMarker(Register* tqparent, CashFlowDirection dir, MyMoneyAccount::accountTypeE accType);
+ TypeGroupMarker(Register* parent, CashFlowDirection dir, MyMoneyAccount::accountTypeE accType);
CashFlowDirection sortType(void) const { return m_dir; }
private:
CashFlowDirection m_dir;
@@ -192,7 +192,7 @@ private:
class FiscalYearGroupMarker : public FancyDateGroupMarker
{
public:
- FiscalYearGroupMarker(Register* tqparent, const TQDate& date, const TQString& txt);
+ FiscalYearGroupMarker(Register* parent, const TQDate& date, const TQString& txt);
virtual const char* className(void) { return "FiscalYearGroupMarker"; }
virtual int sortSamePostDate(void) const { return 1; }
@@ -203,14 +203,14 @@ protected:
class PayeeGroupMarker : public GroupMarker
{
public:
- PayeeGroupMarker(Register* tqparent, const TQString& name);
+ PayeeGroupMarker(Register* parent, const TQString& name);
const TQString& sortPayee(void) const { return m_txt; }
};
class CategoryGroupMarker : public GroupMarker
{
public:
- CategoryGroupMarker(Register* tqparent, const TQString& category);
+ CategoryGroupMarker(Register* parent, const TQString& category);
const TQString& sortCategory(void) const { return m_txt; }
const TQString& sortSecurity(void) const { return m_txt; }
@@ -220,7 +220,7 @@ public:
class ReconcileGroupMarker : public GroupMarker
{
public:
- ReconcileGroupMarker(Register* tqparent, MyMoneySplit::reconcileFlagE state);
+ ReconcileGroupMarker(Register* parent, MyMoneySplit::reconcileFlagE state);
virtual MyMoneySplit::reconcileFlagE sortReconcileState(void) const { return m_state; }
private:
MyMoneySplit::reconcileFlagE m_state;
@@ -255,7 +255,7 @@ class Register : public TransactionEditorContainer
friend class InvestTransaction;
public:
- Register(TQWidget *tqparent = 0, const char *name = 0);
+ Register(TQWidget *parent = 0, const char *name = 0);
virtual ~Register();
/**
@@ -418,14 +418,14 @@ public:
* This method creates a specifc transaction according to the
* transaction passed in @a transaction.
*
- * @param tqparent pointer to register where the created object should be added
+ * @param parent pointer to register where the created object should be added
* @param transaction the transaction which should be used to create the object
* @param split the split of the transaction which should be used to create the object
* @param uniqueId an int that will be used to construct the id of the item
*
* @return pointer to created object (0 upon failure)
*/
- static Transaction* transactionFactory(Register *tqparent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId);
+ static Transaction* transactionFactory(Register *parent, const MyMoneyTransaction& transaction, const MyMoneySplit& split, int uniqueId);
const MyMoneyAccount& account(void) const { return m_account; }