diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneyaccountcombo.h')
-rw-r--r-- | kmymoney2/widgets/kmymoneyaccountcombo.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccountcombo.h b/kmymoney2/widgets/kmymoneyaccountcombo.h index 770d5ad..623260d 100644 --- a/kmymoney2/widgets/kmymoneyaccountcombo.h +++ b/kmymoney2/widgets/kmymoneyaccountcombo.h @@ -44,8 +44,9 @@ class kMyMoneyAccountCompletion; class KMyMoneyAccountCombo : public KComboBox { Q_OBJECT + TQ_OBJECT public: - KMyMoneyAccountCombo( QWidget* parent = 0, const char* name = 0 ); + KMyMoneyAccountCombo( TQWidget* tqparent = 0, const char* name = 0 ); ~KMyMoneyAccountCombo(); /** @@ -56,23 +57,23 @@ public: /** * This method loads the set of accounts into the widget * as defined by the parameter @p accountIdList. @p accountIdList is - * a QValueList of account ids. + * a TQValueList of account ids. * - * @param baseName QString which should be used as group text - * @param accountIdList QValueList of QString account ids + * @param baseName TQString which should be used as group text + * @param accountIdList TQValueList of TQString account ids * which should be loaded into the widget * @param clear if true (default) clears the widget before populating * @return This method returns the number of accounts loaded into the list */ - int loadList(const QString& baseName, const QValueList<QString>& accountIdList, const bool clear = true); + int loadList(const TQString& baseName, const TQValueList<TQString>& accountIdList, const bool clear = true); - QStringList accountList(const QValueList<MyMoneyAccount::accountTypeE>& list = QValueList<MyMoneyAccount::accountTypeE>()) const; + TQStringList accountList(const TQValueList<MyMoneyAccount::accountTypeE>& list = TQValueList<MyMoneyAccount::accountTypeE>()) const; int loadList(KMyMoneyUtils::categoryTypeE typeMask); - int loadList(const QValueList<int>& list); + int loadList(const TQValueList<int>& list); int loadList(MyMoneyAccount::accountTypeE type); - void setSelected(const QString& id); + void setSelected(const TQString& id); void setSelected(const MyMoneyAccount& acc); /** @@ -81,28 +82,28 @@ public: * * @return list of selected accounts */ - QStringList selectedAccounts(void) const; + TQStringList selectedAccounts(void) const; - virtual void keyPressEvent(QKeyEvent* e); + virtual void keyPressEvent(TQKeyEvent* e); public slots: void slotButtonPressed(void); - void slotSelected(const QString&); + void slotSelected(const TQString&); protected slots: signals: - void accountSelected(const QString&); + void accountSelected(const TQString&); void pressed(); void released(); void clicked(); protected: - void mousePressEvent(QMouseEvent *e); - void mouseReleaseEvent(QMouseEvent *e); + void mousePressEvent(TQMouseEvent *e); + void mouseReleaseEvent(TQMouseEvent *e); - void setText(const QString& txt); + void setText(const TQString& txt); private: kMyMoneyAccountCompletion* m_completion; |