diff options
Diffstat (limited to 'krecipes/src/widgets/unitcombobox.h')
-rw-r--r-- | krecipes/src/widgets/unitcombobox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/krecipes/src/widgets/unitcombobox.h b/krecipes/src/widgets/unitcombobox.h index 9f21be3..edde9dc 100644 --- a/krecipes/src/widgets/unitcombobox.h +++ b/krecipes/src/widgets/unitcombobox.h @@ -13,7 +13,7 @@ #include <kcombobox.h> -#include <qmap.h> +#include <ntqmap.h> #include "datablocks/unit.h" @@ -24,7 +24,7 @@ class UnitComboBox : public KComboBox Q_OBJECT public: - UnitComboBox( QWidget *parent, RecipeDB *db, Unit::Type type = Unit::All ); + UnitComboBox( TQWidget *parent, RecipeDB *db, Unit::Type type = Unit::All ); void reload(); int id( int row ) const; @@ -38,13 +38,13 @@ private slots: void createUnit( const Unit & ); void removeUnit( int id ); - int findInsertionPoint( const QString &name ); + int findInsertionPoint( const TQString &name ); private: void loadUnits( const UnitList &unitList ); RecipeDB *database; - QMap<int, int> unitComboRows; // Contains the unit id for every given row in the unit combobox + TQMap<int, int> unitComboRows; // Contains the unit id for every given row in the unit combobox Unit::Type m_type; }; |