diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneycompletion.h')
-rw-r--r-- | kmymoney2/widgets/kmymoneycompletion.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/kmymoney2/widgets/kmymoneycompletion.h b/kmymoney2/widgets/kmymoneycompletion.h index 1efea63..ca83f0b 100644 --- a/kmymoney2/widgets/kmymoneycompletion.h +++ b/kmymoney2/widgets/kmymoneycompletion.h @@ -26,10 +26,10 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qwidget.h> -#include <qvbox.h> -#include <qregexp.h> -class QListViewItem; +#include <tqwidget.h> +#include <tqvbox.h> +#include <tqregexp.h> +class TQListViewItem; // ---------------------------------------------------------------------------- // KDE Includes @@ -45,12 +45,13 @@ class KMyMoneySelector; * @author Thomas Baumgart */ -class kMyMoneyCompletion : public QVBox +class kMyMoneyCompletion : public TQVBox { Q_OBJECT + TQ_OBJECT public: - kMyMoneyCompletion(QWidget *parent=0, const char *name=0); + kMyMoneyCompletion(TQWidget *tqparent=0, const char *name=0); virtual ~kMyMoneyCompletion(); /** @@ -70,21 +71,21 @@ public: * * @param id id of account to be selected */ - void setSelected(const QString& id); + void setSelected(const TQString& id); virtual KMyMoneySelector* selector(void) const { return m_selector; } public slots: - void slotMakeCompletion(const QString& txt); + void slotMakeCompletion(const TQString& txt); - void slotItemSelected(QListViewItem *item, const QPoint& pos, int col); + void slotItemSelected(TQListViewItem *item, const TQPoint& pos, int col); protected: /** * Reimplemented from kMyMoneyAccountSelector to get events from the viewport (to hide * this widget on mouse-click, Escape-presses, etc. */ - virtual bool eventFilter( QObject *, QEvent * ); + virtual bool eventFilter( TQObject *, TQEvent * ); /** * This method resizes the widget to show a maximum of @p count @@ -100,20 +101,20 @@ protected: */ void adjustSize(void); - void connectSignals(QWidget *widget, KListView* lv); + void connectSignals(TQWidget *widget, KListView* lv); void show(bool presetSelected); signals: - void itemSelected(const QString& id); + void itemSelected(const TQString& id); protected: - QWidget* m_parent; - QWidget* m_widget; - QString m_id; + TQWidget* m_parent; + TQWidget* m_widget; + TQString m_id; KListView* m_lv; KMyMoneySelector* m_selector; - QRegExp m_lastCompletion; + TQRegExp m_lastCompletion; static const int MAX_ITEMS; |