summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 12:58:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 12:58:33 +0900
commita78b88955c3ab2bfd800b808b80aa97206298b1f (patch)
tree8a72e8cb4f5f251890cf92c5488934d337cd0a33
parentf062c978085268250c7d3d85b7d8059ec030716c (diff)
downloadkrecipes-a78b8895.tar.gz
krecipes-a78b8895.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--krecipes/src/backends/MySQL/mysqlrecipedb.h2
-rw-r--r--krecipes/src/backends/PostgreSQL/psqlrecipedb.h2
-rw-r--r--krecipes/src/backends/SQLite/literecipedb.h2
-rw-r--r--krecipes/src/backends/progressinterface.h2
-rw-r--r--krecipes/src/backends/qsqlrecipedb.h2
-rw-r--r--krecipes/src/backends/recipedb.h2
-rw-r--r--krecipes/src/convert_sqlite3.h2
-rw-r--r--krecipes/src/dialogs/advancedsearchdialog.h2
-rw-r--r--krecipes/src/dialogs/authorsdialog.h2
-rw-r--r--krecipes/src/dialogs/borderdialog.h2
-rw-r--r--krecipes/src/dialogs/categorieseditordialog.h2
-rw-r--r--krecipes/src/dialogs/conversiondialog.h2
-rw-r--r--krecipes/src/dialogs/createingredientweightdialog.h2
-rw-r--r--krecipes/src/dialogs/createunitdialog.h2
-rw-r--r--krecipes/src/dialogs/dbimportdialog.h2
-rw-r--r--krecipes/src/dialogs/dietviewdialog.h2
-rw-r--r--krecipes/src/dialogs/dietwizarddialog.h8
-rw-r--r--krecipes/src/dialogs/editratingdialog.h2
-rw-r--r--krecipes/src/dialogs/ingredientmatcherdialog.h2
-rw-r--r--krecipes/src/dialogs/ingredientparserdialog.h2
-rw-r--r--krecipes/src/dialogs/ingredientsdialog.h2
-rw-r--r--krecipes/src/dialogs/pagesetupdialog.h2
-rw-r--r--krecipes/src/dialogs/prepmethodsdialog.h2
-rw-r--r--krecipes/src/dialogs/propertiesdialog.h2
-rw-r--r--krecipes/src/dialogs/recipeinputdialog.h6
-rw-r--r--krecipes/src/dialogs/recipeprintpreview.h2
-rw-r--r--krecipes/src/dialogs/recipeviewdialog.h2
-rw-r--r--krecipes/src/dialogs/refineshoppinglistdialog.h2
-rw-r--r--krecipes/src/dialogs/resizerecipedialog.h2
-rw-r--r--krecipes/src/dialogs/selectauthorsdialog.h2
-rw-r--r--krecipes/src/dialogs/selectcategoriesdialog.h2
-rw-r--r--krecipes/src/dialogs/selectrecipedialog.h2
-rw-r--r--krecipes/src/dialogs/setupdisplay.h2
-rw-r--r--krecipes/src/dialogs/shoppinglistdialog.h2
-rw-r--r--krecipes/src/dialogs/shoppinglistviewdialog.h2
-rw-r--r--krecipes/src/dialogs/similarcategoriesdialog.h2
-rw-r--r--krecipes/src/dialogs/unitsdialog.h2
-rw-r--r--krecipes/src/dialogs/usdadatadialog.h2
-rw-r--r--krecipes/src/krecipes.h2
-rw-r--r--krecipes/src/krecipesview.h2
-rw-r--r--krecipes/src/kstartuplogo.h2
-rw-r--r--krecipes/src/pref.h12
-rw-r--r--krecipes/src/recipeactionshandler.h2
-rw-r--r--krecipes/src/recipefilter.h2
-rw-r--r--krecipes/src/setupwizard.h10
-rw-r--r--krecipes/src/widgets/amountunitinput.h2
-rw-r--r--krecipes/src/widgets/authorlistview.h4
-rw-r--r--krecipes/src/widgets/categorycombobox.h2
-rw-r--r--krecipes/src/widgets/categorylistview.h6
-rw-r--r--krecipes/src/widgets/conversiontable.h4
-rw-r--r--krecipes/src/widgets/criteriacombobox.h2
-rw-r--r--krecipes/src/widgets/dblistviewbase.h2
-rw-r--r--krecipes/src/widgets/fractioninput.h2
-rw-r--r--krecipes/src/widgets/headercombobox.h2
-rw-r--r--krecipes/src/widgets/headerlistview.h4
-rw-r--r--krecipes/src/widgets/ingredientcombobox.h2
-rw-r--r--krecipes/src/widgets/ingredientinputwidget.h4
-rw-r--r--krecipes/src/widgets/ingredientlistview.h4
-rw-r--r--krecipes/src/widgets/kdateedit.h2
-rw-r--r--krecipes/src/widgets/kdatepickerpopup.h2
-rw-r--r--krecipes/src/widgets/krelistview.h2
-rw-r--r--krecipes/src/widgets/kremenu.h4
-rw-r--r--krecipes/src/widgets/kreruler.h2
-rw-r--r--krecipes/src/widgets/kretextedit.h2
-rw-r--r--krecipes/src/widgets/kwidgetlistbox.h2
-rw-r--r--krecipes/src/widgets/paneldeco.h6
-rw-r--r--krecipes/src/widgets/prepmethodcombobox.h2
-rw-r--r--krecipes/src/widgets/prepmethodlistview.h4
-rw-r--r--krecipes/src/widgets/propertylistview.h6
-rw-r--r--krecipes/src/widgets/ratingwidget.h2
-rw-r--r--krecipes/src/widgets/recipelistview.h2
-rw-r--r--krecipes/src/widgets/unitcombobox.h2
-rw-r--r--krecipes/src/widgets/unitlistview.h4
-rw-r--r--krecipes/src/widgets/weightinput.h2
74 files changed, 102 insertions, 102 deletions
diff --git a/krecipes/src/backends/MySQL/mysqlrecipedb.h b/krecipes/src/backends/MySQL/mysqlrecipedb.h
index eafa56d..ee93242 100644
--- a/krecipes/src/backends/MySQL/mysqlrecipedb.h
+++ b/krecipes/src/backends/MySQL/mysqlrecipedb.h
@@ -24,7 +24,7 @@
class MySQLRecipeDB : public TQSqlRecipeDB
{
- Q_OBJECT
+ TQ_OBJECT
private:
void createDB( void );
diff --git a/krecipes/src/backends/PostgreSQL/psqlrecipedb.h b/krecipes/src/backends/PostgreSQL/psqlrecipedb.h
index 3593a34..feaee9a 100644
--- a/krecipes/src/backends/PostgreSQL/psqlrecipedb.h
+++ b/krecipes/src/backends/PostgreSQL/psqlrecipedb.h
@@ -24,7 +24,7 @@
class PSqlRecipeDB : public TQSqlRecipeDB
{
- Q_OBJECT
+ TQ_OBJECT
private:
void createDB( void );
diff --git a/krecipes/src/backends/SQLite/literecipedb.h b/krecipes/src/backends/SQLite/literecipedb.h
index 0f00214..2973872 100644
--- a/krecipes/src/backends/SQLite/literecipedb.h
+++ b/krecipes/src/backends/SQLite/literecipedb.h
@@ -30,7 +30,7 @@
class LiteRecipeDB : public TQSqlRecipeDB
{
- Q_OBJECT
+ TQ_OBJECT
private:
void createDB( void );
diff --git a/krecipes/src/backends/progressinterface.h b/krecipes/src/backends/progressinterface.h
index 360d51b..8e38a86 100644
--- a/krecipes/src/backends/progressinterface.h
+++ b/krecipes/src/backends/progressinterface.h
@@ -53,7 +53,7 @@ private:
class ProgressSlotObject : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
ProgressSlotObject( TQWidget*parent, ProgressInterface *p ) : TQObject(parent), pInterface(p){}
diff --git a/krecipes/src/backends/qsqlrecipedb.h b/krecipes/src/backends/qsqlrecipedb.h
index ca707dd..d9d4a58 100644
--- a/krecipes/src/backends/qsqlrecipedb.h
+++ b/krecipes/src/backends/qsqlrecipedb.h
@@ -37,7 +37,7 @@
class TQSqlRecipeDB : public RecipeDB
{
- Q_OBJECT
+ TQ_OBJECT
protected:
virtual TQString qsqlDriverPlugin() const { return TQString::null; }
diff --git a/krecipes/src/backends/recipedb.h b/krecipes/src/backends/recipedb.h
index f987c32..01b2ad6 100644
--- a/krecipes/src/backends/recipedb.h
+++ b/krecipes/src/backends/recipedb.h
@@ -52,7 +52,7 @@ RecipeIngredientList;
class RecipeDB: public TQObject, virtual public KrecipesDBIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
RecipeDB();
diff --git a/krecipes/src/convert_sqlite3.h b/krecipes/src/convert_sqlite3.h
index acbb50b..0313e7f 100644
--- a/krecipes/src/convert_sqlite3.h
+++ b/krecipes/src/convert_sqlite3.h
@@ -17,7 +17,7 @@ class KProcIO;
class ConvertSQLite3 : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
ConvertSQLite3( const TQString &db_file = TQString::null );
diff --git a/krecipes/src/dialogs/advancedsearchdialog.h b/krecipes/src/dialogs/advancedsearchdialog.h
index 9fb1011..214c6c4 100644
--- a/krecipes/src/dialogs/advancedsearchdialog.h
+++ b/krecipes/src/dialogs/advancedsearchdialog.h
@@ -41,7 +41,7 @@ class CriteriaComboBox;
class AdvancedSearchDialog : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
AdvancedSearchDialog( TQWidget *parent, RecipeDB * );
diff --git a/krecipes/src/dialogs/authorsdialog.h b/krecipes/src/dialogs/authorsdialog.h
index d71bc93..aa8f398 100644
--- a/krecipes/src/dialogs/authorsdialog.h
+++ b/krecipes/src/dialogs/authorsdialog.h
@@ -32,7 +32,7 @@ class StdAuthorListView;
class AuthorsDialog: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/krecipes/src/dialogs/borderdialog.h b/krecipes/src/dialogs/borderdialog.h
index d1a9164..07905ee 100644
--- a/krecipes/src/dialogs/borderdialog.h
+++ b/krecipes/src/dialogs/borderdialog.h
@@ -29,7 +29,7 @@ class KreBorder;
class BorderDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
BorderDialog( const KreBorder &border, TQWidget* parent = 0, const char* name = 0 );
diff --git a/krecipes/src/dialogs/categorieseditordialog.h b/krecipes/src/dialogs/categorieseditordialog.h
index 3984132..2f5e2fc 100644
--- a/krecipes/src/dialogs/categorieseditordialog.h
+++ b/krecipes/src/dialogs/categorieseditordialog.h
@@ -32,7 +32,7 @@ class StdCategoryListView;
class CategoriesEditorDialog: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/krecipes/src/dialogs/conversiondialog.h b/krecipes/src/dialogs/conversiondialog.h
index 5cde864..b467ce1 100644
--- a/krecipes/src/dialogs/conversiondialog.h
+++ b/krecipes/src/dialogs/conversiondialog.h
@@ -30,7 +30,7 @@ class FractionInput;
class ConversionDialog : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
ConversionDialog( TQWidget* parent, RecipeDB *, const char* name = 0 );
diff --git a/krecipes/src/dialogs/createingredientweightdialog.h b/krecipes/src/dialogs/createingredientweightdialog.h
index 30ba144..cbc4d8f 100644
--- a/krecipes/src/dialogs/createingredientweightdialog.h
+++ b/krecipes/src/dialogs/createingredientweightdialog.h
@@ -31,7 +31,7 @@ class Weight;
class CreateIngredientWeightDialog : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
CreateIngredientWeightDialog( TQWidget* parent, RecipeDB* );
diff --git a/krecipes/src/dialogs/createunitdialog.h b/krecipes/src/dialogs/createunitdialog.h
index 5c534bd..416c86f 100644
--- a/krecipes/src/dialogs/createunitdialog.h
+++ b/krecipes/src/dialogs/createunitdialog.h
@@ -29,7 +29,7 @@ class KLineEdit;
*/
class CreateUnitDialog : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
CreateUnitDialog( TQWidget *parent, const TQString &name = TQString::null, const TQString &plural = TQString::null, const TQString &name_abbrev = TQString::null, const TQString &plural_abbrev = TQString::null, bool newUnit = true );
diff --git a/krecipes/src/dialogs/dbimportdialog.h b/krecipes/src/dialogs/dbimportdialog.h
index 0024daf..eef49c5 100644
--- a/krecipes/src/dialogs/dbimportdialog.h
+++ b/krecipes/src/dialogs/dbimportdialog.h
@@ -33,7 +33,7 @@ class KIntNumInput;
class DBImportDialog: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DBImportDialog( TQWidget *parent = 0, const char *name = 0 );
diff --git a/krecipes/src/dialogs/dietviewdialog.h b/krecipes/src/dialogs/dietviewdialog.h
index 5558470..30a1c95 100644
--- a/krecipes/src/dialogs/dietviewdialog.h
+++ b/krecipes/src/dialogs/dietviewdialog.h
@@ -24,7 +24,7 @@
class DietViewDialog: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DietViewDialog( TQWidget *parent, const RecipeList &recipeList, int dayNumber, int mealNumber, const TQValueList <int> &dishNumbers );
diff --git a/krecipes/src/dialogs/dietwizarddialog.h b/krecipes/src/dialogs/dietwizarddialog.h
index cc2f135..fb867a1 100644
--- a/krecipes/src/dialogs/dietwizarddialog.h
+++ b/krecipes/src/dialogs/dietwizarddialog.h
@@ -59,7 +59,7 @@ class PropertyConstraintListView;
class DietWizardDialog: public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -115,7 +115,7 @@ signals:
class MealInput: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
// Methods
@@ -166,7 +166,7 @@ private slots:
class DishInput: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
DishInput( TQWidget *parent, RecipeDB *database, const TQString &title );
@@ -205,7 +205,7 @@ private slots:
class DishTitle: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
DishTitle( TQWidget *parent, const TQString &title );
diff --git a/krecipes/src/dialogs/editratingdialog.h b/krecipes/src/dialogs/editratingdialog.h
index 06a633f..6996fb0 100644
--- a/krecipes/src/dialogs/editratingdialog.h
+++ b/krecipes/src/dialogs/editratingdialog.h
@@ -34,7 +34,7 @@ class RatingCriteriaListView;
class EditRatingDialog : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
EditRatingDialog( const ElementList &criteriaList, const Rating &, TQWidget* parent = 0, const char* name = 0 );
diff --git a/krecipes/src/dialogs/ingredientmatcherdialog.h b/krecipes/src/dialogs/ingredientmatcherdialog.h
index e793e3b..b94049e 100644
--- a/krecipes/src/dialogs/ingredientmatcherdialog.h
+++ b/krecipes/src/dialogs/ingredientmatcherdialog.h
@@ -112,7 +112,7 @@ public:
class IngredientMatcherDialog: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/krecipes/src/dialogs/ingredientparserdialog.h b/krecipes/src/dialogs/ingredientparserdialog.h
index 6f2bc7f..f9a6dbb 100644
--- a/krecipes/src/dialogs/ingredientparserdialog.h
+++ b/krecipes/src/dialogs/ingredientparserdialog.h
@@ -30,7 +30,7 @@ class TQPushButton;
class IngredientParserDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
IngredientParserDialog( const UnitList &units, TQWidget* parent = 0, const char* name = 0 );
diff --git a/krecipes/src/dialogs/ingredientsdialog.h b/krecipes/src/dialogs/ingredientsdialog.h
index 5e048f7..dc17b8a 100644
--- a/krecipes/src/dialogs/ingredientsdialog.h
+++ b/krecipes/src/dialogs/ingredientsdialog.h
@@ -37,7 +37,7 @@ class MixedNumber;
class IngredientsDialog: public TQWidget
{
-Q_OBJECT
+TQ_OBJECT
public:
IngredientsDialog( TQWidget* parent, RecipeDB *db );
diff --git a/krecipes/src/dialogs/pagesetupdialog.h b/krecipes/src/dialogs/pagesetupdialog.h
index 2ef48a5..328eb3b 100644
--- a/krecipes/src/dialogs/pagesetupdialog.h
+++ b/krecipes/src/dialogs/pagesetupdialog.h
@@ -27,7 +27,7 @@ class KreDisplayItem;
*/
class PageSetupDialog : public KDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
PageSetupDialog( TQWidget *parent, const Recipe &sample, const TQString &configEntry = TQString::null );
diff --git a/krecipes/src/dialogs/prepmethodsdialog.h b/krecipes/src/dialogs/prepmethodsdialog.h
index 542d514..2e867bc 100644
--- a/krecipes/src/dialogs/prepmethodsdialog.h
+++ b/krecipes/src/dialogs/prepmethodsdialog.h
@@ -32,7 +32,7 @@ class StdPrepMethodListView;
class PrepMethodsDialog: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/krecipes/src/dialogs/propertiesdialog.h b/krecipes/src/dialogs/propertiesdialog.h
index 58437fd..9dcc696 100644
--- a/krecipes/src/dialogs/propertiesdialog.h
+++ b/krecipes/src/dialogs/propertiesdialog.h
@@ -26,7 +26,7 @@ class StdPropertyListView;
*/
class PropertiesDialog: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
PropertiesDialog( TQWidget *parent, RecipeDB *db );
~PropertiesDialog();
diff --git a/krecipes/src/dialogs/recipeinputdialog.h b/krecipes/src/dialogs/recipeinputdialog.h
index 12c49c3..c0b35a3 100644
--- a/krecipes/src/dialogs/recipeinputdialog.h
+++ b/krecipes/src/dialogs/recipeinputdialog.h
@@ -60,7 +60,7 @@ class ClickableLed;
*/
class RecipeInputDialog: public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -195,7 +195,7 @@ signals:
class ClickableLed : public KLed
{
-Q_OBJECT
+TQ_OBJECT
public:
ClickableLed( TQWidget *parent );
@@ -209,7 +209,7 @@ signals:
class ImageDropLabel : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
ImageDropLabel( TQWidget *parent, TQPixmap &_sourcePhoto );
diff --git a/krecipes/src/dialogs/recipeprintpreview.h b/krecipes/src/dialogs/recipeprintpreview.h
index 1912a96..f1161d7 100644
--- a/krecipes/src/dialogs/recipeprintpreview.h
+++ b/krecipes/src/dialogs/recipeprintpreview.h
@@ -21,7 +21,7 @@ class RecipeViewDialog;
class RecipePrintPreview : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
RecipePrintPreview( TQWidget *parent, RecipeDB *db, const TQValueList<int> &ids );
diff --git a/krecipes/src/dialogs/recipeviewdialog.h b/krecipes/src/dialogs/recipeviewdialog.h
index 17ce110..5384441 100644
--- a/krecipes/src/dialogs/recipeviewdialog.h
+++ b/krecipes/src/dialogs/recipeviewdialog.h
@@ -27,7 +27,7 @@ class TQPushButton;
class RecipeViewDialog : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
RecipeViewDialog( TQWidget *parent, RecipeDB *db, int recipeID = -1 );
diff --git a/krecipes/src/dialogs/refineshoppinglistdialog.h b/krecipes/src/dialogs/refineshoppinglistdialog.h
index b427413..38f2822 100644
--- a/krecipes/src/dialogs/refineshoppinglistdialog.h
+++ b/krecipes/src/dialogs/refineshoppinglistdialog.h
@@ -32,7 +32,7 @@ class KreListView;
class RefineShoppingListDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
RefineShoppingListDialog( TQWidget* parent, RecipeDB *db, const ElementList &recipeList );
diff --git a/krecipes/src/dialogs/resizerecipedialog.h b/krecipes/src/dialogs/resizerecipedialog.h
index 043ccbf..725ecdb 100644
--- a/krecipes/src/dialogs/resizerecipedialog.h
+++ b/krecipes/src/dialogs/resizerecipedialog.h
@@ -34,7 +34,7 @@ class TQPushButton;
*/
class ResizeRecipeDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ResizeRecipeDialog( TQWidget *parent, Recipe* );
diff --git a/krecipes/src/dialogs/selectauthorsdialog.h b/krecipes/src/dialogs/selectauthorsdialog.h
index 4e550f3..7f6a808 100644
--- a/krecipes/src/dialogs/selectauthorsdialog.h
+++ b/krecipes/src/dialogs/selectauthorsdialog.h
@@ -31,7 +31,7 @@ class RecipeDB;
class SelectAuthorsDialog: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/krecipes/src/dialogs/selectcategoriesdialog.h b/krecipes/src/dialogs/selectcategoriesdialog.h
index 15f2d6a..781fdd5 100644
--- a/krecipes/src/dialogs/selectcategoriesdialog.h
+++ b/krecipes/src/dialogs/selectcategoriesdialog.h
@@ -32,7 +32,7 @@ class RecipeDB;
class SelectCategoriesDialog: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/krecipes/src/dialogs/selectrecipedialog.h b/krecipes/src/dialogs/selectrecipedialog.h
index f58dbd3..fcdb6a4 100644
--- a/krecipes/src/dialogs/selectrecipedialog.h
+++ b/krecipes/src/dialogs/selectrecipedialog.h
@@ -48,7 +48,7 @@ class CategoryComboBox;
*/
class SelectRecipeDialog : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
SelectRecipeDialog( TQWidget *parent, RecipeDB *db );
~SelectRecipeDialog();
diff --git a/krecipes/src/dialogs/setupdisplay.h b/krecipes/src/dialogs/setupdisplay.h
index fd5f207..2e0e14f 100644
--- a/krecipes/src/dialogs/setupdisplay.h
+++ b/krecipes/src/dialogs/setupdisplay.h
@@ -61,7 +61,7 @@ typedef TQMap< KreDisplayItem*, unsigned int > PropertiesMap;
*/
class SetupDisplay : public TDEHTMLPart, protected KLOManager
{
- Q_OBJECT
+ TQ_OBJECT
public:
SetupDisplay( const Recipe &, TQWidget *parent );
diff --git a/krecipes/src/dialogs/shoppinglistdialog.h b/krecipes/src/dialogs/shoppinglistdialog.h
index 3d82dfe..d43e216 100644
--- a/krecipes/src/dialogs/shoppinglistdialog.h
+++ b/krecipes/src/dialogs/shoppinglistdialog.h
@@ -33,7 +33,7 @@ class RecipeListView;
class ShoppingListDialog: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ShoppingListDialog( TQWidget *parent, RecipeDB *db );
diff --git a/krecipes/src/dialogs/shoppinglistviewdialog.h b/krecipes/src/dialogs/shoppinglistviewdialog.h
index 7ee404b..dbb99a6 100644
--- a/krecipes/src/dialogs/shoppinglistviewdialog.h
+++ b/krecipes/src/dialogs/shoppinglistviewdialog.h
@@ -25,7 +25,7 @@ class IngredientList;
class ShoppingListViewDialog: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ShoppingListViewDialog( TQWidget *parent, const IngredientList &ingredientList );
diff --git a/krecipes/src/dialogs/similarcategoriesdialog.h b/krecipes/src/dialogs/similarcategoriesdialog.h
index 8b32011..c1c0909 100644
--- a/krecipes/src/dialogs/similarcategoriesdialog.h
+++ b/krecipes/src/dialogs/similarcategoriesdialog.h
@@ -32,7 +32,7 @@ class RecipeDB;
class SimilarCategoriesDialog : public TQDialog
{
-Q_OBJECT
+TQ_OBJECT
public:
SimilarCategoriesDialog( ElementList &, TQWidget* parent = 0 );
diff --git a/krecipes/src/dialogs/unitsdialog.h b/krecipes/src/dialogs/unitsdialog.h
index d537a57..df959b5 100644
--- a/krecipes/src/dialogs/unitsdialog.h
+++ b/krecipes/src/dialogs/unitsdialog.h
@@ -29,7 +29,7 @@ class StdUnitListView;
*/
class UnitsDialog: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
UnitsDialog( TQWidget *parent, RecipeDB *db );
~UnitsDialog();
diff --git a/krecipes/src/dialogs/usdadatadialog.h b/krecipes/src/dialogs/usdadatadialog.h
index dbde174..ffc7d13 100644
--- a/krecipes/src/dialogs/usdadatadialog.h
+++ b/krecipes/src/dialogs/usdadatadialog.h
@@ -24,7 +24,7 @@ class TDEListView;
class USDADataDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
USDADataDialog( const Element &, RecipeDB *database, TQWidget *parent = 0 );
diff --git a/krecipes/src/krecipes.h b/krecipes/src/krecipes.h
index af768af..c689e19 100644
--- a/krecipes/src/krecipes.h
+++ b/krecipes/src/krecipes.h
@@ -39,7 +39,7 @@ class ConversionDialog;
*/
class Krecipes : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Default Constructor
diff --git a/krecipes/src/krecipesview.h b/krecipes/src/krecipesview.h
index 2216594..5ca62ec 100644
--- a/krecipes/src/krecipesview.h
+++ b/krecipes/src/krecipesview.h
@@ -81,7 +81,7 @@ enum KrePanel {SelectP = 0, ShoppingP, DietP, MatcherP, IngredientsP, Properties
// Class KrecipesView
class KrecipesView : public TQVBox, virtual public KrecipesIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
* Default constructor
diff --git a/krecipes/src/kstartuplogo.h b/krecipes/src/kstartuplogo.h
index 9c2de4d..9a22228 100644
--- a/krecipes/src/kstartuplogo.h
+++ b/krecipes/src/kstartuplogo.h
@@ -27,7 +27,7 @@
*/
class TDEStartupLogo : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TDEStartupLogo( TQWidget *parent = 0, const char *name = 0 );
~TDEStartupLogo();
diff --git a/krecipes/src/pref.h b/krecipes/src/pref.h
index 46b4a7e..187c9a0 100644
--- a/krecipes/src/pref.h
+++ b/krecipes/src/pref.h
@@ -36,7 +36,7 @@ class TQComboBox;
class KrecipesPreferences : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
KrecipesPreferences( TQWidget *parent );
@@ -94,7 +94,7 @@ private:
class SQLiteServerPrefs : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
SQLiteServerPrefs( TQWidget *parent );
@@ -110,7 +110,7 @@ private:
class ServerPrefs : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ServerPrefs( TQWidget *parent = 0 );
@@ -123,7 +123,7 @@ private:
class NumbersPrefs : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
NumbersPrefs( TQWidget *parent = 0 );
@@ -147,7 +147,7 @@ protected slots:
class ImportPrefs : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ImportPrefs( TQWidget *parent = 0 );
@@ -165,7 +165,7 @@ protected:
class PerformancePrefs : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
PerformancePrefs( TQWidget *parent = 0 );
diff --git a/krecipes/src/recipeactionshandler.h b/krecipes/src/recipeactionshandler.h
index 67d3d7a..8eebd83 100644
--- a/krecipes/src/recipeactionshandler.h
+++ b/krecipes/src/recipeactionshandler.h
@@ -32,7 +32,7 @@ class RecipeDB;
*/
class RecipeActionsHandler : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum ItemType { Category, Recipe };
diff --git a/krecipes/src/recipefilter.h b/krecipes/src/recipefilter.h
index 6643965..d8d6cf3 100644
--- a/krecipes/src/recipefilter.h
+++ b/krecipes/src/recipefilter.h
@@ -19,7 +19,7 @@ class TQListViewItem;
class RecipeFilter : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
RecipeFilter( TDEListView * );
diff --git a/krecipes/src/setupwizard.h b/krecipes/src/setupwizard.h
index 9f213d6..3b94287 100644
--- a/krecipes/src/setupwizard.h
+++ b/krecipes/src/setupwizard.h
@@ -37,7 +37,7 @@ enum DBType {SQLite, MySQL, PostgreSQL};
class SetupWizard: public KWizard
{
- Q_OBJECT
+ TQ_OBJECT
public:
SetupWizard( TQWidget *parent = 0, const char *name = 0, bool modal = true, WFlags f = 0 );
@@ -78,7 +78,7 @@ private:
class PermissionsSetupPage: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
// Methods
PermissionsSetupPage( TQWidget *parent );
@@ -102,7 +102,7 @@ private slots:
class PSqlPermissionsSetupPage: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
// Methods
PSqlPermissionsSetupPage( TQWidget *parent );
@@ -150,7 +150,7 @@ private:
class SQLiteSetupPage: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
// Methods
@@ -201,7 +201,7 @@ private:
class DBTypeSetupPage: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
// Methods
diff --git a/krecipes/src/widgets/amountunitinput.h b/krecipes/src/widgets/amountunitinput.h
index 0b2967e..3f15e22 100644
--- a/krecipes/src/widgets/amountunitinput.h
+++ b/krecipes/src/widgets/amountunitinput.h
@@ -26,7 +26,7 @@ class UnitComboBox;
class AmountUnitInput : public TQHBox
{
-Q_OBJECT
+TQ_OBJECT
public:
AmountUnitInput( TQWidget *parent, RecipeDB *database, Unit::Type type = Unit::All, MixedNumber::Format f = MixedNumber::MixedNumberFormat );
diff --git a/krecipes/src/widgets/authorlistview.h b/krecipes/src/widgets/authorlistview.h
index 4aefc74..a1cdc49 100644
--- a/krecipes/src/widgets/authorlistview.h
+++ b/krecipes/src/widgets/authorlistview.h
@@ -41,7 +41,7 @@ private:
class AuthorListView : public DBListViewBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
AuthorListView( TQWidget *parent, RecipeDB *db );
@@ -58,7 +58,7 @@ protected:
class StdAuthorListView : public AuthorListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
StdAuthorListView( TQWidget *parent, RecipeDB *db, bool editable = false );
diff --git a/krecipes/src/widgets/categorycombobox.h b/krecipes/src/widgets/categorycombobox.h
index 71a7617..6284e0e 100644
--- a/krecipes/src/widgets/categorycombobox.h
+++ b/krecipes/src/widgets/categorycombobox.h
@@ -24,7 +24,7 @@ class CategoryTree;
class CategoryComboBox : public KComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
CategoryComboBox( TQWidget *parent, RecipeDB *db );
diff --git a/krecipes/src/widgets/categorylistview.h b/krecipes/src/widgets/categorylistview.h
index 69c978e..280b939 100644
--- a/krecipes/src/widgets/categorylistview.h
+++ b/krecipes/src/widgets/categorylistview.h
@@ -107,7 +107,7 @@ public:
class CategoryListView : public DBListViewBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CategoryListView( TQWidget *parent, RecipeDB * );
@@ -211,7 +211,7 @@ private:
class StdCategoryListView : public CategoryListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
StdCategoryListView( TQWidget *parent, RecipeDB *, bool editable = false );
@@ -253,7 +253,7 @@ private:
class CategoryCheckListView : public CategoryListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
CategoryCheckListView( TQWidget *parent, RecipeDB *, bool exclusive=true, const ElementList &init_items_checked = ElementList() );
diff --git a/krecipes/src/widgets/conversiontable.h b/krecipes/src/widgets/conversiontable.h
index 0c5191c..313c75f 100644
--- a/krecipes/src/widgets/conversiontable.h
+++ b/krecipes/src/widgets/conversiontable.h
@@ -25,7 +25,7 @@
class ConversionTable: public TQTable
{
- Q_OBJECT
+ TQ_OBJECT
public:
ConversionTable( TQWidget* parent, int maxrows, int maxcols );
@@ -78,7 +78,7 @@ signals:
class ConversionTableItem: public TQObject, public TQTableItem
{
- Q_OBJECT
+ TQ_OBJECT
public:
ConversionTableItem( TQTable *t, EditType et );
TQWidget *createEditor() const;
diff --git a/krecipes/src/widgets/criteriacombobox.h b/krecipes/src/widgets/criteriacombobox.h
index f04bde5..b5c2679 100644
--- a/krecipes/src/widgets/criteriacombobox.h
+++ b/krecipes/src/widgets/criteriacombobox.h
@@ -21,7 +21,7 @@ class RecipeDB;
class CriteriaComboBox : public KComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
CriteriaComboBox( bool, TQWidget *parent, RecipeDB *db );
diff --git a/krecipes/src/widgets/dblistviewbase.h b/krecipes/src/widgets/dblistviewbase.h
index e31c42a..c122b22 100644
--- a/krecipes/src/widgets/dblistviewbase.h
+++ b/krecipes/src/widgets/dblistviewbase.h
@@ -31,7 +31,7 @@ enum ReloadFlags {
class DBListViewBase : public TDEListView
{
-Q_OBJECT
+TQ_OBJECT
public:
DBListViewBase( TQWidget *, RecipeDB *, int total );
diff --git a/krecipes/src/widgets/fractioninput.h b/krecipes/src/widgets/fractioninput.h
index 37a9b76..b682a32 100644
--- a/krecipes/src/widgets/fractioninput.h
+++ b/krecipes/src/widgets/fractioninput.h
@@ -23,7 +23,7 @@ class TQTimer;
*/
class FractionInput : public KLineEdit
{
-Q_OBJECT
+TQ_OBJECT
public:
FractionInput( TQWidget *parent = 0, MixedNumber::Format = MixedNumber::MixedNumberFormat );
diff --git a/krecipes/src/widgets/headercombobox.h b/krecipes/src/widgets/headercombobox.h
index bfde387..5e07b20 100644
--- a/krecipes/src/widgets/headercombobox.h
+++ b/krecipes/src/widgets/headercombobox.h
@@ -19,7 +19,7 @@ class RecipeDB;
class HeaderComboBox : public KComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
HeaderComboBox( bool, TQWidget *parent, RecipeDB *db );
diff --git a/krecipes/src/widgets/headerlistview.h b/krecipes/src/widgets/headerlistview.h
index 79c29b6..716d002 100644
--- a/krecipes/src/widgets/headerlistview.h
+++ b/krecipes/src/widgets/headerlistview.h
@@ -22,7 +22,7 @@ class TDEPopupMenu;
class HeaderListView : public DBListViewBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
HeaderListView( TQWidget *parent, RecipeDB *db );
@@ -42,7 +42,7 @@ protected:
class StdHeaderListView : public HeaderListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
StdHeaderListView( TQWidget *parent, RecipeDB *db, bool editable = false );
diff --git a/krecipes/src/widgets/ingredientcombobox.h b/krecipes/src/widgets/ingredientcombobox.h
index ed47069..05ae0ac 100644
--- a/krecipes/src/widgets/ingredientcombobox.h
+++ b/krecipes/src/widgets/ingredientcombobox.h
@@ -24,7 +24,7 @@ class ElementList;
class IngredientComboBox : public KComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
IngredientComboBox( bool, TQWidget *parent, RecipeDB *db, const TQString &specialItem = TQString::null );
diff --git a/krecipes/src/widgets/ingredientinputwidget.h b/krecipes/src/widgets/ingredientinputwidget.h
index 84d8023..535c216 100644
--- a/krecipes/src/widgets/ingredientinputwidget.h
+++ b/krecipes/src/widgets/ingredientinputwidget.h
@@ -42,7 +42,7 @@ class IngredientInput;
class IngredientInputWidget : public TQVBox
{
-Q_OBJECT
+TQ_OBJECT
public:
IngredientInputWidget( RecipeDB *db, TQWidget *parent );
@@ -79,7 +79,7 @@ private:
class IngredientInput : public TQHBox
{
-Q_OBJECT
+TQ_OBJECT
public:
IngredientInput( RecipeDB *db, TQWidget *parent, bool allowHeader = true );
diff --git a/krecipes/src/widgets/ingredientlistview.h b/krecipes/src/widgets/ingredientlistview.h
index 421727e..58990c4 100644
--- a/krecipes/src/widgets/ingredientlistview.h
+++ b/krecipes/src/widgets/ingredientlistview.h
@@ -48,7 +48,7 @@ private:
class IngredientListView : public DBListViewBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
IngredientListView( TQWidget *parent, RecipeDB *db );
@@ -69,7 +69,7 @@ private slots:
class StdIngredientListView : public IngredientListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
StdIngredientListView( TQWidget *parent, RecipeDB *db, bool editable = false );
diff --git a/krecipes/src/widgets/kdateedit.h b/krecipes/src/widgets/kdateedit.h
index 339892c..255fed7 100644
--- a/krecipes/src/widgets/kdateedit.h
+++ b/krecipes/src/widgets/kdateedit.h
@@ -50,7 +50,7 @@ class TQEvent;
*/
class KDateEdit : public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDateEdit( TQWidget *parent = 0, const char *name = 0 );
diff --git a/krecipes/src/widgets/kdatepickerpopup.h b/krecipes/src/widgets/kdatepickerpopup.h
index 8ce4849..5158191 100644
--- a/krecipes/src/widgets/kdatepickerpopup.h
+++ b/krecipes/src/widgets/kdatepickerpopup.h
@@ -43,7 +43,7 @@
*/
class KDatePickerPopup: public TQPopupMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum { NoDate = 1, DatePicker = 2, Words = 4 };
diff --git a/krecipes/src/widgets/krelistview.h b/krecipes/src/widgets/krelistview.h
index 397b455..e273bbf 100644
--- a/krecipes/src/widgets/krelistview.h
+++ b/krecipes/src/widgets/krelistview.h
@@ -24,7 +24,7 @@ class DBListViewBase;
class KreListView: public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
KreListView( TQWidget *parent, const TQString &title = TQString::null, bool filter = false, int filterCol = 0, TQWidget *embeddedWidget = 0 );
diff --git a/krecipes/src/widgets/kremenu.h b/krecipes/src/widgets/kremenu.h
index 0903b6c..0f97561 100644
--- a/krecipes/src/widgets/kremenu.h
+++ b/krecipes/src/widgets/kremenu.h
@@ -60,7 +60,7 @@ private:
class KreMenu : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KreMenu( TQWidget *parent = 0, const char *name = 0 );
~KreMenu();
@@ -105,7 +105,7 @@ private slots:
class KreMenuButton: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KreMenuButton( KreMenu *parent, KrePanel panel = KrePanel( -1 ), MenuId id = 0, const char *name = 0 );
diff --git a/krecipes/src/widgets/kreruler.h b/krecipes/src/widgets/kreruler.h
index c1ecf40..ed0685e 100644
--- a/krecipes/src/widgets/kreruler.h
+++ b/krecipes/src/widgets/kreruler.h
@@ -104,7 +104,7 @@ class KoRulerPrivate;
*/
class KoRuler : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
friend class KoRulerPrivate; // for the Action enum
public:
static const int F_TABS;
diff --git a/krecipes/src/widgets/kretextedit.h b/krecipes/src/widgets/kretextedit.h
index e747278..ec9e5fa 100644
--- a/krecipes/src/widgets/kretextedit.h
+++ b/krecipes/src/widgets/kretextedit.h
@@ -21,7 +21,7 @@
*/
class KreTextEdit : public KTextEdit, TDECompletionBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
KreTextEdit( TQWidget *parent );
diff --git a/krecipes/src/widgets/kwidgetlistbox.h b/krecipes/src/widgets/kwidgetlistbox.h
index b20a008..505e629 100644
--- a/krecipes/src/widgets/kwidgetlistbox.h
+++ b/krecipes/src/widgets/kwidgetlistbox.h
@@ -33,7 +33,7 @@ typedef bool (*show_callback) (int index, TQWidget* widget, void* data);
class KWidgetListbox : public TQTable
{
- Q_OBJECT
+ TQ_OBJECT
public:
KWidgetListbox(TQWidget *parent = 0, const char *name = 0);
diff --git a/krecipes/src/widgets/paneldeco.h b/krecipes/src/widgets/paneldeco.h
index a7114e4..d911529 100644
--- a/krecipes/src/widgets/paneldeco.h
+++ b/krecipes/src/widgets/paneldeco.h
@@ -31,7 +31,7 @@ class TopDeco;
class PanelDeco : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
// Methods
PanelDeco( TQWidget *parent = 0, const char *name = 0, const TQString &title = TQString::null, const TQString &iconName = TQString::null );
@@ -59,7 +59,7 @@ protected:
class LeftDeco: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
LeftDeco( TQWidget *parent = 0, const char *name = 0 );
@@ -68,7 +68,7 @@ public:
class TopDeco: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TopDeco( TQWidget *parent = 0, const char *name = 0, const TQString &title = TQString::null, const TQString &iconName = TQString::null );
~TopDeco();
diff --git a/krecipes/src/widgets/prepmethodcombobox.h b/krecipes/src/widgets/prepmethodcombobox.h
index 559626a..2a657a8 100644
--- a/krecipes/src/widgets/prepmethodcombobox.h
+++ b/krecipes/src/widgets/prepmethodcombobox.h
@@ -22,7 +22,7 @@ class ElementList;
class PrepMethodComboBox : public KComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrepMethodComboBox( bool, TQWidget *parent, RecipeDB *db, const TQString &specialItem = TQString::null );
diff --git a/krecipes/src/widgets/prepmethodlistview.h b/krecipes/src/widgets/prepmethodlistview.h
index 6d745da..a31fccd 100644
--- a/krecipes/src/widgets/prepmethodlistview.h
+++ b/krecipes/src/widgets/prepmethodlistview.h
@@ -20,7 +20,7 @@ class TDEPopupMenu;
class PrepMethodListView : public DBListViewBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrepMethodListView( TQWidget *parent, RecipeDB *db );
@@ -41,7 +41,7 @@ protected:
class StdPrepMethodListView : public PrepMethodListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
StdPrepMethodListView( TQWidget *parent, RecipeDB *db, bool editable = false );
diff --git a/krecipes/src/widgets/propertylistview.h b/krecipes/src/widgets/propertylistview.h
index d751406..62c249f 100644
--- a/krecipes/src/widgets/propertylistview.h
+++ b/krecipes/src/widgets/propertylistview.h
@@ -127,7 +127,7 @@ public:
class PropertyListView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
PropertyListView( TQWidget *parent, RecipeDB * );
@@ -148,7 +148,7 @@ protected slots:
class StdPropertyListView : public PropertyListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
StdPropertyListView( TQWidget *parent, RecipeDB *, bool editable = false );
@@ -188,7 +188,7 @@ protected:
class CheckPropertyListView : public StdPropertyListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
CheckPropertyListView( TQWidget *parent, RecipeDB *, bool editable = false );
diff --git a/krecipes/src/widgets/ratingwidget.h b/krecipes/src/widgets/ratingwidget.h
index 268b3b6..4df58a6 100644
--- a/krecipes/src/widgets/ratingwidget.h
+++ b/krecipes/src/widgets/ratingwidget.h
@@ -24,7 +24,7 @@
* @author Robby Stephenson
*/
class RatingWidget : public TQHBox {
-Q_OBJECT
+TQ_OBJECT
typedef TQPtrList<TQLabel> LabelList;
diff --git a/krecipes/src/widgets/recipelistview.h b/krecipes/src/widgets/recipelistview.h
index 23135f4..b981f67 100644
--- a/krecipes/src/widgets/recipelistview.h
+++ b/krecipes/src/widgets/recipelistview.h
@@ -125,7 +125,7 @@ public:
class RecipeListView : public StdCategoryListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
RecipeListView( TQWidget *parent, RecipeDB *db );
diff --git a/krecipes/src/widgets/unitcombobox.h b/krecipes/src/widgets/unitcombobox.h
index edde9dc..cbfb104 100644
--- a/krecipes/src/widgets/unitcombobox.h
+++ b/krecipes/src/widgets/unitcombobox.h
@@ -21,7 +21,7 @@ class RecipeDB;
class UnitComboBox : public KComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
UnitComboBox( TQWidget *parent, RecipeDB *db, Unit::Type type = Unit::All );
diff --git a/krecipes/src/widgets/unitlistview.h b/krecipes/src/widgets/unitlistview.h
index d3fb02c..b71b67f 100644
--- a/krecipes/src/widgets/unitlistview.h
+++ b/krecipes/src/widgets/unitlistview.h
@@ -24,7 +24,7 @@ class TDEPopupMenu;
class UnitListView : public DBListViewBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
UnitListView( TQWidget *parent, RecipeDB *db );
@@ -44,7 +44,7 @@ protected:
class StdUnitListView : public UnitListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
StdUnitListView( TQWidget *parent, RecipeDB *db, bool editable = false );
diff --git a/krecipes/src/widgets/weightinput.h b/krecipes/src/widgets/weightinput.h
index dda7d7a..83ff6b3 100644
--- a/krecipes/src/widgets/weightinput.h
+++ b/krecipes/src/widgets/weightinput.h
@@ -20,7 +20,7 @@ class Weight;
class WeightInput : public AmountUnitInput
{
-Q_OBJECT
+TQ_OBJECT
public:
WeightInput( TQWidget *parent, RecipeDB *database, Unit::Type type = Unit::All, MixedNumber::Format f = MixedNumber::MixedNumberFormat );