diff options
Diffstat (limited to 'krecipes/src/widgets/ingredientcombobox.h')
-rw-r--r-- | krecipes/src/widgets/ingredientcombobox.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/krecipes/src/widgets/ingredientcombobox.h b/krecipes/src/widgets/ingredientcombobox.h index 8e18957..ed47069 100644 --- a/krecipes/src/widgets/ingredientcombobox.h +++ b/krecipes/src/widgets/ingredientcombobox.h @@ -13,11 +13,11 @@ #include <kcombobox.h> -#include <qmap.h> +#include <ntqmap.h> #include "datablocks/element.h" -class QTimer; +class TQTimer; class RecipeDB; class ElementList; @@ -27,11 +27,11 @@ class IngredientComboBox : public KComboBox Q_OBJECT public: - IngredientComboBox( bool, QWidget *parent, RecipeDB *db, const QString &specialItem = QString::null ); + IngredientComboBox( bool, TQWidget *parent, RecipeDB *db, const TQString &specialItem = TQString::null ); void reload(); int id( int row ); - int id( const QString &ing ); + int id( const TQString &ing ); void startLoad(); void endLoad(); @@ -40,18 +40,18 @@ private slots: void createIngredient( const Element &element ); void removeIngredient( int id ); - int findInsertionPoint( const QString &name ); + int findInsertionPoint( const TQString &name ); void loadMore(); private: RecipeDB *database; - QMap<int, int> ingredientComboRows; // Contains the category id for every given row in the category combobox + TQMap<int, int> ingredientComboRows; // Contains the category id for every given row in the category combobox int loading_at; int ing_count; int load_limit; - QTimer *load_timer; - QString m_specialItem; + TQTimer *load_timer; + TQString m_specialItem; }; #endif //INGREDIENTCOMBOBOX_H |