diff options
Diffstat (limited to 'krecipes/src/widgets/dblistviewbase.h')
-rw-r--r-- | krecipes/src/widgets/dblistviewbase.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/krecipes/src/widgets/dblistviewbase.h b/krecipes/src/widgets/dblistviewbase.h index 2db4fe6..1b04ff3 100644 --- a/krecipes/src/widgets/dblistviewbase.h +++ b/krecipes/src/widgets/dblistviewbase.h @@ -11,8 +11,8 @@ #ifndef LISTVIEWHANDLER_H #define LISTVIEWHANDLER_H -#include <qobject.h> -#include <qmap.h> +#include <ntqobject.h> +#include <ntqmap.h> #include <klistview.h> @@ -34,7 +34,7 @@ class DBListViewBase : public KListView Q_OBJECT public: - DBListViewBase( QWidget *, RecipeDB *, int total ); + DBListViewBase( TQWidget *, RecipeDB *, int total ); ~DBListViewBase(); void reload( ReloadFlags flag = Load ); @@ -51,10 +51,10 @@ protected: */ virtual void init(){} virtual void load(int limit, int offset) = 0; - virtual void keyPressEvent( QKeyEvent *e ); - bool handleElement( const QString & ); - virtual void createElement( QListViewItem * ); - void removeElement( QListViewItem *, bool delete_item = true ); + virtual void keyPressEvent( TQKeyEvent *e ); + bool handleElement( const TQString & ); + virtual void createElement( TQListViewItem * ); + void removeElement( TQListViewItem *, bool delete_item = true ); bool reloading(){ return bulk_load; } void setSorting(int c){KListView::setSorting(c);} //don't do sorting, the database comes sorted from the database anyways @@ -65,8 +65,8 @@ protected: int curr_offset; protected slots: - void rename( QListViewItem *, int c ); - void slotDoubleClicked( QListViewItem * ); + void rename( TQListViewItem *, int c ); + void slotDoubleClicked( TQListViewItem * ); private: void activatePrev(); @@ -79,8 +79,8 @@ private: bool bulk_load; - QMap<QListViewItem*,QListViewItem*> lastElementMap; - QListViewItem *delete_me_later; + TQMap<TQListViewItem*,TQListViewItem*> lastElementMap; + TQListViewItem *delete_me_later; KProgressDialog *m_progress; int m_totalSteps; |