diff options
Diffstat (limited to 'krecipes/src/widgets/unitlistview.h')
-rw-r--r-- | krecipes/src/widgets/unitlistview.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/krecipes/src/widgets/unitlistview.h b/krecipes/src/widgets/unitlistview.h index 6833f5d..011e0ac 100644 --- a/krecipes/src/widgets/unitlistview.h +++ b/krecipes/src/widgets/unitlistview.h @@ -17,7 +17,7 @@ #include "datablocks/unit.h" -class QComboBox; +class TQComboBox; class RecipeDB; class KPopupMenu; @@ -27,7 +27,7 @@ class UnitListView : public DBListViewBase Q_OBJECT public: - UnitListView( QWidget *parent, RecipeDB *db ); + UnitListView( TQWidget *parent, RecipeDB *db ); public slots: virtual void load( int curr_limit, int curr_offset ); @@ -47,14 +47,14 @@ class StdUnitListView : public UnitListView Q_OBJECT public: - StdUnitListView( QWidget *parent, RecipeDB *db, bool editable = false ); + StdUnitListView( TQWidget *parent, RecipeDB *db, bool editable = false ); protected: virtual void createUnit( const Unit & ); virtual void removeUnit( int ); private slots: - void showPopup( KListView *, QListViewItem *, const QPoint & ); + void showPopup( KListView *, TQListViewItem *, const TQPoint & ); void hideTypeCombo(); void updateType( int type ); @@ -62,15 +62,15 @@ private slots: void remove(); void rename(); - void modUnit( QListViewItem* i, const QPoint &p, int c ); - void saveUnit( QListViewItem* i, const QString &text, int c ); + void modUnit( TQListViewItem* i, const TQPoint &p, int c ); + void saveUnit( TQListViewItem* i, const TQString &text, int c ); private: bool checkBounds( const Unit &unit ); - void insertTypeComboBox( QListViewItem* ); + void insertTypeComboBox( TQListViewItem* ); KPopupMenu *kpop; - QComboBox *typeComboBox; + TQComboBox *typeComboBox; }; #endif //UNITLISTVIEW_H |