summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewaccountdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/knewaccountdlg.h')
-rw-r--r--kmymoney2/dialogs/knewaccountdlg.h49
1 files changed, 25 insertions, 24 deletions
diff --git a/kmymoney2/dialogs/knewaccountdlg.h b/kmymoney2/dialogs/knewaccountdlg.h
index ee09158..5b6e481 100644
--- a/kmymoney2/dialogs/knewaccountdlg.h
+++ b/kmymoney2/dialogs/knewaccountdlg.h
@@ -48,6 +48,7 @@ namespace reports {
class KNewAccountDlg : public KNewAccountDlgDecl
{
Q_OBJECT
+ TQ_OBJECT
private:
MyMoneyAccount m_account;
@@ -64,14 +65,14 @@ private:
int m_idPropMaxCredit;
int m_idPropMinBalance;
- void initParentWidget(QString parentId, const QString& accountId);
- void showSubAccounts(QStringList accounts, KMyMoneyAccountTreeBaseItem *parentItem, const QString& parentId, const QString& accountId);
+ void initParentWidget(TQString tqparentId, const TQString& accountId);
+ void showSubAccounts(TQStringList accounts, KMyMoneyAccountTreeBaseItem *tqparentItem, const TQString& tqparentId, const TQString& accountId);
void loadVatAccounts(void);
- void storeKVP(const QString& key, kMyMoneyEdit* widget);
- void storeKVP(const QString& key, KLineEdit* widget);
- void storeKVP(const QString& key, const QString& text, const QString& value);
- void loadKVP(const QString& key, kMyMoneyEdit* widget);
- void loadKVP(const QString& key, KLineEdit* widget);
+ void storeKVP(const TQString& key, kMyMoneyEdit* widget);
+ void storeKVP(const TQString& key, KLineEdit* widget);
+ void storeKVP(const TQString& key, const TQString& text, const TQString& value);
+ void loadKVP(const TQString& key, kMyMoneyEdit* widget);
+ void loadKVP(const TQString& key, KLineEdit* widget);
public:
/**
@@ -80,17 +81,17 @@ public:
* apply and will be handled by the dialog.
*
* @param account The original data to be used to create the account. In case
- * of @p isEditing is false, the account id, the parent account id
+ * of @p isEditing is false, the account id, the tqparent account id
* and the list of all child accounts will be cleared.
* @param isEditing If @p false, rules for new account creation apply.
* If @p true, rules for account editing apply
* @param categoryEditor If @p false, rules for asset/liability accounts apply.
* If @p true, rules for income/expense account apply.
- * @param parent Pointer to parent object (passed to QDialog). Default is 0.
- * @param name Name of the object (passed to QDialog). Default is 0.
- * @param title Caption of the object (passed to QDialog). Default is empty string.
+ * @param tqparent Pointer to tqparent object (passed to TQDialog). Default is 0.
+ * @param name Name of the object (passed to TQDialog). Default is 0.
+ * @param title Caption of the object (passed to TQDialog). Default is empty string.
*/
- KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, QWidget *parent=0, const char *name=0, const QString& title=QString::null);
+ KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, TQWidget *tqparent=0, const char *name=0, const TQString& title=TQString());
/**
* This method returns the edited account object.
@@ -98,9 +99,9 @@ public:
const MyMoneyAccount& account(void);
/**
- * This method returns the parent account of the edited account object.
+ * This method returns the tqparent account of the edited account object.
*/
- const MyMoneyAccount& parentAccount(void);
+ const MyMoneyAccount& tqparentAccount(void);
void setOpeningBalance(const MyMoneyMoney& balance);
@@ -113,26 +114,26 @@ public:
* This tab is usually defined by a plugin (eg. online banking). If @a w is
* zero, this is a NOP. @a name is used as the text to be placed on the tab.
*/
- void addTab(QWidget* w, const QString& name);
+ void addTab(TQWidget* w, const TQString& name);
protected:
- void resizeEvent(QResizeEvent* e);
- void displayOnlineBankingStatus(void);
+ void resizeEvent(TQResizeEvent* e);
+ void displayOnlineBankingtqStatus(void);
void adjustEditWidgets(kMyMoneyEdit* dst, kMyMoneyEdit* src, char mode, int corr);
protected slots:
void okClicked();
- void slotSelectionChanged(QListViewItem *item);
- void slotAccountTypeChanged(const QString& type);
+ void slotSelectionChanged(TQListViewItem *item);
+ void slotAccountTypeChanged(const TQString& type);
void slotVatChanged(bool);
void slotVatAssignmentChanged(bool);
void slotNewClicked(void);
void slotCheckFinished(void);
- void slotLoadInstitutions(const QString&);
- void slotAdjustMinBalanceAbsoluteEdit(const QString&);
- void slotAdjustMinBalanceEarlyEdit(const QString&);
- void slotAdjustMaxCreditAbsoluteEdit(const QString&);
- void slotAdjustMaxCreditEarlyEdit(const QString&);
+ void slotLoadInstitutions(const TQString&);
+ void slotAdjustMinBalanceAbsoluteEdit(const TQString&);
+ void slotAdjustMinBalanceEarlyEdit(const TQString&);
+ void slotAdjustMaxCreditAbsoluteEdit(const TQString&);
+ void slotAdjustMaxCreditEarlyEdit(const TQString&);
private slots:
void timerDone(void);