summaryrefslogtreecommitdiffstats
path: root/krecipes/src/widgets/ingredientlistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/widgets/ingredientlistview.h')
-rw-r--r--krecipes/src/widgets/ingredientlistview.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/krecipes/src/widgets/ingredientlistview.h b/krecipes/src/widgets/ingredientlistview.h
index 5487a11..877ec97 100644
--- a/krecipes/src/widgets/ingredientlistview.h
+++ b/krecipes/src/widgets/ingredientlistview.h
@@ -23,18 +23,18 @@ class IngredientCheckListView;
/**
@author Unai Garro
*/
-class IngredientCheckListItem: public QCheckListItem
+class IngredientCheckListItem: public TQCheckListItem
{
public:
IngredientCheckListItem( IngredientCheckListView* qlv, const Element &ing );
- IngredientCheckListItem( IngredientCheckListView* qlv, QListViewItem *after, const Element &ing );
+ IngredientCheckListItem( IngredientCheckListView* qlv, TQListViewItem *after, const Element &ing );
~IngredientCheckListItem( void );
int id( void ) const;
- QString name( void ) const;
+ TQString name( void ) const;
Element ingredient() const;
- virtual QString text( int column ) const;
+ virtual TQString text( int column ) const;
protected:
virtual void stateChange( bool on );
@@ -51,7 +51,7 @@ class IngredientListView : public DBListViewBase
Q_OBJECT
public:
- IngredientListView( QWidget *parent, RecipeDB *db );
+ IngredientListView( TQWidget *parent, RecipeDB *db );
protected slots:
virtual void createIngredient( const Element & ) = 0;
@@ -72,25 +72,25 @@ class StdIngredientListView : public IngredientListView
Q_OBJECT
public:
- StdIngredientListView( QWidget *parent, RecipeDB *db, bool editable = false );
+ StdIngredientListView( TQWidget *parent, RecipeDB *db, bool editable = false );
protected:
virtual void createIngredient( const Element & );
virtual void removeIngredient( int );
private slots:
- void showPopup( KListView *, QListViewItem *, const QPoint & );
+ void showPopup( KListView *, TQListViewItem *, const TQPoint & );
void createNew();
void remove
();
void rename();
- void modIngredient( QListViewItem* i );
- void saveIngredient( QListViewItem* i );
+ void modIngredient( TQListViewItem* i );
+ void saveIngredient( TQListViewItem* i );
private:
- bool checkBounds( const QString &name );
+ bool checkBounds( const TQString &name );
KPopupMenu *kpop;
};
@@ -100,11 +100,11 @@ private:
class IngredientCheckListView : public IngredientListView
{
public:
- IngredientCheckListView( QWidget *parent, RecipeDB *db );
+ IngredientCheckListView( TQWidget *parent, RecipeDB *db );
virtual void stateChange(IngredientCheckListItem *,bool);
- QValueList<Element> selections() const{ return m_selections; }
+ TQValueList<Element> selections() const{ return m_selections; }
protected:
virtual void createIngredient( const Element &ing );
@@ -113,7 +113,7 @@ protected:
virtual void load( int limit, int offset );
private:
- QValueList<Element> m_selections;
+ TQValueList<Element> m_selections;
};
#endif //INGREDIENTLISTVIEW_H