Replace Q_OBJECT with TQ_OBJECT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a78b88955c)
r14.1.x
Michele Calgaro 10 months ago
parent 3688910b7f
commit 4e8e7f3446
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -24,7 +24,7 @@
class MySQLRecipeDB : public TQSqlRecipeDB class MySQLRecipeDB : public TQSqlRecipeDB
{ {
Q_OBJECT TQ_OBJECT
private: private:
void createDB( void ); void createDB( void );

@ -24,7 +24,7 @@
class PSqlRecipeDB : public TQSqlRecipeDB class PSqlRecipeDB : public TQSqlRecipeDB
{ {
Q_OBJECT TQ_OBJECT
private: private:
void createDB( void ); void createDB( void );

@ -30,7 +30,7 @@
class LiteRecipeDB : public TQSqlRecipeDB class LiteRecipeDB : public TQSqlRecipeDB
{ {
Q_OBJECT TQ_OBJECT
private: private:
void createDB( void ); void createDB( void );

@ -53,7 +53,7 @@ private:
class ProgressSlotObject : public TQObject class ProgressSlotObject : public TQObject
{ {
Q_OBJECT TQ_OBJECT
public: public:
ProgressSlotObject( TQWidget*parent, ProgressInterface *p ) : TQObject(parent), pInterface(p){} ProgressSlotObject( TQWidget*parent, ProgressInterface *p ) : TQObject(parent), pInterface(p){}

@ -37,7 +37,7 @@
class TQSqlRecipeDB : public RecipeDB class TQSqlRecipeDB : public RecipeDB
{ {
Q_OBJECT TQ_OBJECT
protected: protected:
virtual TQString qsqlDriverPlugin() const { return TQString::null; } virtual TQString qsqlDriverPlugin() const { return TQString::null; }

@ -52,7 +52,7 @@ RecipeIngredientList;
class RecipeDB: public TQObject, virtual public KrecipesDBIface class RecipeDB: public TQObject, virtual public KrecipesDBIface
{ {
Q_OBJECT TQ_OBJECT
public: public:
RecipeDB(); RecipeDB();

@ -17,7 +17,7 @@ class KProcIO;
class ConvertSQLite3 : public TQObject class ConvertSQLite3 : public TQObject
{ {
Q_OBJECT TQ_OBJECT
public: public:
ConvertSQLite3( const TQString &db_file = TQString::null ); ConvertSQLite3( const TQString &db_file = TQString::null );

@ -41,7 +41,7 @@ class CriteriaComboBox;
class AdvancedSearchDialog : public TQWidget class AdvancedSearchDialog : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
AdvancedSearchDialog( TQWidget *parent, RecipeDB * ); AdvancedSearchDialog( TQWidget *parent, RecipeDB * );

@ -32,7 +32,7 @@ class StdAuthorListView;
class AuthorsDialog: public TQWidget class AuthorsDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -29,7 +29,7 @@ class KreBorder;
class BorderDialog : public KDialogBase class BorderDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
BorderDialog( const KreBorder &border, TQWidget* parent = 0, const char* name = 0 ); BorderDialog( const KreBorder &border, TQWidget* parent = 0, const char* name = 0 );

@ -32,7 +32,7 @@ class StdCategoryListView;
class CategoriesEditorDialog: public TQWidget class CategoriesEditorDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -30,7 +30,7 @@ class FractionInput;
class ConversionDialog : public KDialogBase class ConversionDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
ConversionDialog( TQWidget* parent, RecipeDB *, const char* name = 0 ); ConversionDialog( TQWidget* parent, RecipeDB *, const char* name = 0 );

@ -31,7 +31,7 @@ class Weight;
class CreateIngredientWeightDialog : public KDialogBase class CreateIngredientWeightDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
CreateIngredientWeightDialog( TQWidget* parent, RecipeDB* ); CreateIngredientWeightDialog( TQWidget* parent, RecipeDB* );

@ -29,7 +29,7 @@ class KLineEdit;
*/ */
class CreateUnitDialog : public KDialogBase class CreateUnitDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: 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 ); 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 );

@ -33,7 +33,7 @@ class KIntNumInput;
class DBImportDialog: public KDialogBase class DBImportDialog: public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
DBImportDialog( TQWidget *parent = 0, const char *name = 0 ); DBImportDialog( TQWidget *parent = 0, const char *name = 0 );

@ -24,7 +24,7 @@
class DietViewDialog: public KDialogBase class DietViewDialog: public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
DietViewDialog( TQWidget *parent, const RecipeList &recipeList, int dayNumber, int mealNumber, const TQValueList <int> &dishNumbers ); DietViewDialog( TQWidget *parent, const RecipeList &recipeList, int dayNumber, int mealNumber, const TQValueList <int> &dishNumbers );

@ -59,7 +59,7 @@ class PropertyConstraintListView;
class DietWizardDialog: public TQVBox class DietWizardDialog: public TQVBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
@ -115,7 +115,7 @@ signals:
class MealInput: public TQWidget class MealInput: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
// Methods // Methods
@ -166,7 +166,7 @@ private slots:
class DishInput: public TQWidget class DishInput: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
DishInput( TQWidget *parent, RecipeDB *database, const TQString &title ); DishInput( TQWidget *parent, RecipeDB *database, const TQString &title );
@ -205,7 +205,7 @@ private slots:
class DishTitle: public TQWidget class DishTitle: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
DishTitle( TQWidget *parent, const TQString &title ); DishTitle( TQWidget *parent, const TQString &title );

@ -34,7 +34,7 @@ class RatingCriteriaListView;
class EditRatingDialog : public KDialogBase class EditRatingDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
EditRatingDialog( const ElementList &criteriaList, const Rating &, TQWidget* parent = 0, const char* name = 0 ); EditRatingDialog( const ElementList &criteriaList, const Rating &, TQWidget* parent = 0, const char* name = 0 );

@ -112,7 +112,7 @@ public:
class IngredientMatcherDialog: public TQWidget class IngredientMatcherDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -30,7 +30,7 @@ class TQPushButton;
class IngredientParserDialog : public KDialogBase class IngredientParserDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
IngredientParserDialog( const UnitList &units, TQWidget* parent = 0, const char* name = 0 ); IngredientParserDialog( const UnitList &units, TQWidget* parent = 0, const char* name = 0 );

@ -37,7 +37,7 @@ class MixedNumber;
class IngredientsDialog: public TQWidget class IngredientsDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
IngredientsDialog( TQWidget* parent, RecipeDB *db ); IngredientsDialog( TQWidget* parent, RecipeDB *db );

@ -27,7 +27,7 @@ class KreDisplayItem;
*/ */
class PageSetupDialog : public KDialog class PageSetupDialog : public KDialog
{ {
Q_OBJECT TQ_OBJECT
public: public:
PageSetupDialog( TQWidget *parent, const Recipe &sample, const TQString &configEntry = TQString::null ); PageSetupDialog( TQWidget *parent, const Recipe &sample, const TQString &configEntry = TQString::null );

@ -32,7 +32,7 @@ class StdPrepMethodListView;
class PrepMethodsDialog: public TQWidget class PrepMethodsDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -26,7 +26,7 @@ class StdPropertyListView;
*/ */
class PropertiesDialog: public TQWidget class PropertiesDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
PropertiesDialog( TQWidget *parent, RecipeDB *db ); PropertiesDialog( TQWidget *parent, RecipeDB *db );
~PropertiesDialog(); ~PropertiesDialog();

@ -60,7 +60,7 @@ class ClickableLed;
*/ */
class RecipeInputDialog: public TQVBox class RecipeInputDialog: public TQVBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
@ -195,7 +195,7 @@ signals:
class ClickableLed : public KLed class ClickableLed : public KLed
{ {
Q_OBJECT TQ_OBJECT
public: public:
ClickableLed( TQWidget *parent ); ClickableLed( TQWidget *parent );
@ -209,7 +209,7 @@ signals:
class ImageDropLabel : public TQLabel class ImageDropLabel : public TQLabel
{ {
Q_OBJECT TQ_OBJECT
public: public:
ImageDropLabel( TQWidget *parent, TQPixmap &_sourcePhoto ); ImageDropLabel( TQWidget *parent, TQPixmap &_sourcePhoto );

@ -21,7 +21,7 @@ class RecipeViewDialog;
class RecipePrintPreview : public KDialogBase class RecipePrintPreview : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
RecipePrintPreview( TQWidget *parent, RecipeDB *db, const TQValueList<int> &ids ); RecipePrintPreview( TQWidget *parent, RecipeDB *db, const TQValueList<int> &ids );

@ -27,7 +27,7 @@ class TQPushButton;
class RecipeViewDialog : public TQVBox class RecipeViewDialog : public TQVBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
RecipeViewDialog( TQWidget *parent, RecipeDB *db, int recipeID = -1 ); RecipeViewDialog( TQWidget *parent, RecipeDB *db, int recipeID = -1 );

@ -32,7 +32,7 @@ class KreListView;
class RefineShoppingListDialog : public KDialogBase class RefineShoppingListDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
RefineShoppingListDialog( TQWidget* parent, RecipeDB *db, const ElementList &recipeList ); RefineShoppingListDialog( TQWidget* parent, RecipeDB *db, const ElementList &recipeList );

@ -34,7 +34,7 @@ class TQPushButton;
*/ */
class ResizeRecipeDialog : public KDialogBase class ResizeRecipeDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
ResizeRecipeDialog( TQWidget *parent, Recipe* ); ResizeRecipeDialog( TQWidget *parent, Recipe* );

@ -31,7 +31,7 @@ class RecipeDB;
class SelectAuthorsDialog: public KDialogBase class SelectAuthorsDialog: public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -32,7 +32,7 @@ class RecipeDB;
class SelectCategoriesDialog: public KDialogBase class SelectCategoriesDialog: public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -48,7 +48,7 @@ class CategoryComboBox;
*/ */
class SelectRecipeDialog : public TQWidget class SelectRecipeDialog : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
SelectRecipeDialog( TQWidget *parent, RecipeDB *db ); SelectRecipeDialog( TQWidget *parent, RecipeDB *db );
~SelectRecipeDialog(); ~SelectRecipeDialog();

@ -61,7 +61,7 @@ typedef TQMap< KreDisplayItem*, unsigned int > PropertiesMap;
*/ */
class SetupDisplay : public TDEHTMLPart, protected KLOManager class SetupDisplay : public TDEHTMLPart, protected KLOManager
{ {
Q_OBJECT TQ_OBJECT
public: public:
SetupDisplay( const Recipe &, TQWidget *parent ); SetupDisplay( const Recipe &, TQWidget *parent );

@ -33,7 +33,7 @@ class RecipeListView;
class ShoppingListDialog: public TQWidget class ShoppingListDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
ShoppingListDialog( TQWidget *parent, RecipeDB *db ); ShoppingListDialog( TQWidget *parent, RecipeDB *db );

@ -25,7 +25,7 @@ class IngredientList;
class ShoppingListViewDialog: public KDialogBase class ShoppingListViewDialog: public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
ShoppingListViewDialog( TQWidget *parent, const IngredientList &ingredientList ); ShoppingListViewDialog( TQWidget *parent, const IngredientList &ingredientList );

@ -32,7 +32,7 @@ class RecipeDB;
class SimilarCategoriesDialog : public TQDialog class SimilarCategoriesDialog : public TQDialog
{ {
Q_OBJECT TQ_OBJECT
public: public:
SimilarCategoriesDialog( ElementList &, TQWidget* parent = 0 ); SimilarCategoriesDialog( ElementList &, TQWidget* parent = 0 );

@ -29,7 +29,7 @@ class StdUnitListView;
*/ */
class UnitsDialog: public TQWidget class UnitsDialog: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
UnitsDialog( TQWidget *parent, RecipeDB *db ); UnitsDialog( TQWidget *parent, RecipeDB *db );
~UnitsDialog(); ~UnitsDialog();

@ -24,7 +24,7 @@ class TDEListView;
class USDADataDialog : public KDialogBase class USDADataDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
USDADataDialog( const Element &, RecipeDB *database, TQWidget *parent = 0 ); USDADataDialog( const Element &, RecipeDB *database, TQWidget *parent = 0 );

@ -39,7 +39,7 @@ class ConversionDialog;
*/ */
class Krecipes : public TDEMainWindow class Krecipes : public TDEMainWindow
{ {
Q_OBJECT TQ_OBJECT
public: public:
/** /**
* Default Constructor * Default Constructor

@ -81,7 +81,7 @@ enum KrePanel {SelectP = 0, ShoppingP, DietP, MatcherP, IngredientsP, Properties
// Class KrecipesView // Class KrecipesView
class KrecipesView : public TQVBox, virtual public KrecipesIface class KrecipesView : public TQVBox, virtual public KrecipesIface
{ {
Q_OBJECT TQ_OBJECT
public: public:
/** /**
* Default constructor * Default constructor

@ -27,7 +27,7 @@
*/ */
class TDEStartupLogo : public TQWidget class TDEStartupLogo : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
TDEStartupLogo( TQWidget *parent = 0, const char *name = 0 ); TDEStartupLogo( TQWidget *parent = 0, const char *name = 0 );
~TDEStartupLogo(); ~TDEStartupLogo();

@ -36,7 +36,7 @@ class TQComboBox;
class KrecipesPreferences : public KDialogBase class KrecipesPreferences : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
KrecipesPreferences( TQWidget *parent ); KrecipesPreferences( TQWidget *parent );
@ -94,7 +94,7 @@ private:
class SQLiteServerPrefs : public TQWidget class SQLiteServerPrefs : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
SQLiteServerPrefs( TQWidget *parent ); SQLiteServerPrefs( TQWidget *parent );
@ -110,7 +110,7 @@ private:
class ServerPrefs : public TQWidget class ServerPrefs : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
ServerPrefs( TQWidget *parent = 0 ); ServerPrefs( TQWidget *parent = 0 );
@ -123,7 +123,7 @@ private:
class NumbersPrefs : public TQWidget class NumbersPrefs : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
NumbersPrefs( TQWidget *parent = 0 ); NumbersPrefs( TQWidget *parent = 0 );
@ -147,7 +147,7 @@ protected slots:
class ImportPrefs : public TQWidget class ImportPrefs : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
ImportPrefs( TQWidget *parent = 0 ); ImportPrefs( TQWidget *parent = 0 );
@ -165,7 +165,7 @@ protected:
class PerformancePrefs : public TQWidget class PerformancePrefs : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
PerformancePrefs( TQWidget *parent = 0 ); PerformancePrefs( TQWidget *parent = 0 );

@ -32,7 +32,7 @@ class RecipeDB;
*/ */
class RecipeActionsHandler : public TQObject class RecipeActionsHandler : public TQObject
{ {
Q_OBJECT TQ_OBJECT
public: public:
enum ItemType { Category, Recipe }; enum ItemType { Category, Recipe };

@ -19,7 +19,7 @@ class TQListViewItem;
class RecipeFilter : public TQObject class RecipeFilter : public TQObject
{ {
Q_OBJECT TQ_OBJECT
public: public:
RecipeFilter( TDEListView * ); RecipeFilter( TDEListView * );

@ -37,7 +37,7 @@ enum DBType {SQLite, MySQL, PostgreSQL};
class SetupWizard: public KWizard class SetupWizard: public KWizard
{ {
Q_OBJECT TQ_OBJECT
public: public:
SetupWizard( TQWidget *parent = 0, const char *name = 0, bool modal = true, WFlags f = 0 ); SetupWizard( TQWidget *parent = 0, const char *name = 0, bool modal = true, WFlags f = 0 );
@ -78,7 +78,7 @@ private:
class PermissionsSetupPage: public TQWidget class PermissionsSetupPage: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
// Methods // Methods
PermissionsSetupPage( TQWidget *parent ); PermissionsSetupPage( TQWidget *parent );
@ -102,7 +102,7 @@ private slots:
class PSqlPermissionsSetupPage: public TQWidget class PSqlPermissionsSetupPage: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
// Methods // Methods
PSqlPermissionsSetupPage( TQWidget *parent ); PSqlPermissionsSetupPage( TQWidget *parent );
@ -150,7 +150,7 @@ private:
class SQLiteSetupPage: public TQWidget class SQLiteSetupPage: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
// Methods // Methods
@ -201,7 +201,7 @@ private:
class DBTypeSetupPage: public TQWidget class DBTypeSetupPage: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
// Methods // Methods

@ -26,7 +26,7 @@ class UnitComboBox;
class AmountUnitInput : public TQHBox class AmountUnitInput : public TQHBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
AmountUnitInput( TQWidget *parent, RecipeDB *database, Unit::Type type = Unit::All, MixedNumber::Format f = MixedNumber::MixedNumberFormat ); AmountUnitInput( TQWidget *parent, RecipeDB *database, Unit::Type type = Unit::All, MixedNumber::Format f = MixedNumber::MixedNumberFormat );

@ -41,7 +41,7 @@ private:
class AuthorListView : public DBListViewBase class AuthorListView : public DBListViewBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
AuthorListView( TQWidget *parent, RecipeDB *db ); AuthorListView( TQWidget *parent, RecipeDB *db );
@ -58,7 +58,7 @@ protected:
class StdAuthorListView : public AuthorListView class StdAuthorListView : public AuthorListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
StdAuthorListView( TQWidget *parent, RecipeDB *db, bool editable = false ); StdAuthorListView( TQWidget *parent, RecipeDB *db, bool editable = false );

@ -24,7 +24,7 @@ class CategoryTree;
class CategoryComboBox : public KComboBox class CategoryComboBox : public KComboBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
CategoryComboBox( TQWidget *parent, RecipeDB *db ); CategoryComboBox( TQWidget *parent, RecipeDB *db );

@ -107,7 +107,7 @@ public:
class CategoryListView : public DBListViewBase class CategoryListView : public DBListViewBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
CategoryListView( TQWidget *parent, RecipeDB * ); CategoryListView( TQWidget *parent, RecipeDB * );
@ -211,7 +211,7 @@ private:
class StdCategoryListView : public CategoryListView class StdCategoryListView : public CategoryListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
StdCategoryListView( TQWidget *parent, RecipeDB *, bool editable = false ); StdCategoryListView( TQWidget *parent, RecipeDB *, bool editable = false );
@ -253,7 +253,7 @@ private:
class CategoryCheckListView : public CategoryListView class CategoryCheckListView : public CategoryListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
CategoryCheckListView( TQWidget *parent, RecipeDB *, bool exclusive=true, const ElementList &init_items_checked = ElementList() ); CategoryCheckListView( TQWidget *parent, RecipeDB *, bool exclusive=true, const ElementList &init_items_checked = ElementList() );

@ -25,7 +25,7 @@
class ConversionTable: public TQTable class ConversionTable: public TQTable
{ {
Q_OBJECT TQ_OBJECT
public: public:
ConversionTable( TQWidget* parent, int maxrows, int maxcols ); ConversionTable( TQWidget* parent, int maxrows, int maxcols );
@ -78,7 +78,7 @@ signals:
class ConversionTableItem: public TQObject, public TQTableItem class ConversionTableItem: public TQObject, public TQTableItem
{ {
Q_OBJECT TQ_OBJECT
public: public:
ConversionTableItem( TQTable *t, EditType et ); ConversionTableItem( TQTable *t, EditType et );
TQWidget *createEditor() const; TQWidget *createEditor() const;

@ -21,7 +21,7 @@ class RecipeDB;
class CriteriaComboBox : public KComboBox class CriteriaComboBox : public KComboBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
CriteriaComboBox( bool, TQWidget *parent, RecipeDB *db ); CriteriaComboBox( bool, TQWidget *parent, RecipeDB *db );

@ -31,7 +31,7 @@ enum ReloadFlags {
class DBListViewBase : public TDEListView class DBListViewBase : public TDEListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
DBListViewBase( TQWidget *, RecipeDB *, int total ); DBListViewBase( TQWidget *, RecipeDB *, int total );

@ -23,7 +23,7 @@ class TQTimer;
*/ */
class FractionInput : public KLineEdit class FractionInput : public KLineEdit
{ {
Q_OBJECT TQ_OBJECT
public: public:
FractionInput( TQWidget *parent = 0, MixedNumber::Format = MixedNumber::MixedNumberFormat ); FractionInput( TQWidget *parent = 0, MixedNumber::Format = MixedNumber::MixedNumberFormat );

@ -19,7 +19,7 @@ class RecipeDB;
class HeaderComboBox : public KComboBox class HeaderComboBox : public KComboBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
HeaderComboBox( bool, TQWidget *parent, RecipeDB *db ); HeaderComboBox( bool, TQWidget *parent, RecipeDB *db );

@ -22,7 +22,7 @@ class TDEPopupMenu;
class HeaderListView : public DBListViewBase class HeaderListView : public DBListViewBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
HeaderListView( TQWidget *parent, RecipeDB *db ); HeaderListView( TQWidget *parent, RecipeDB *db );
@ -42,7 +42,7 @@ protected:
class StdHeaderListView : public HeaderListView class StdHeaderListView : public HeaderListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
StdHeaderListView( TQWidget *parent, RecipeDB *db, bool editable = false ); StdHeaderListView( TQWidget *parent, RecipeDB *db, bool editable = false );

@ -24,7 +24,7 @@ class ElementList;
class IngredientComboBox : public KComboBox class IngredientComboBox : public KComboBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
IngredientComboBox( bool, TQWidget *parent, RecipeDB *db, const TQString &specialItem = TQString::null ); IngredientComboBox( bool, TQWidget *parent, RecipeDB *db, const TQString &specialItem = TQString::null );

@ -42,7 +42,7 @@ class IngredientInput;
class IngredientInputWidget : public TQVBox class IngredientInputWidget : public TQVBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
IngredientInputWidget( RecipeDB *db, TQWidget *parent ); IngredientInputWidget( RecipeDB *db, TQWidget *parent );
@ -79,7 +79,7 @@ private:
class IngredientInput : public TQHBox class IngredientInput : public TQHBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
IngredientInput( RecipeDB *db, TQWidget *parent, bool allowHeader = true ); IngredientInput( RecipeDB *db, TQWidget *parent, bool allowHeader = true );

@ -48,7 +48,7 @@ private:
class IngredientListView : public DBListViewBase class IngredientListView : public DBListViewBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
IngredientListView( TQWidget *parent, RecipeDB *db ); IngredientListView( TQWidget *parent, RecipeDB *db );
@ -69,7 +69,7 @@ private slots:
class StdIngredientListView : public IngredientListView class StdIngredientListView : public IngredientListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
StdIngredientListView( TQWidget *parent, RecipeDB *db, bool editable = false ); StdIngredientListView( TQWidget *parent, RecipeDB *db, bool editable = false );

@ -50,7 +50,7 @@ class TQEvent;
*/ */
class KDateEdit : public TQComboBox class KDateEdit : public TQComboBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
KDateEdit( TQWidget *parent = 0, const char *name = 0 ); KDateEdit( TQWidget *parent = 0, const char *name = 0 );

@ -43,7 +43,7 @@
*/ */
class KDatePickerPopup: public TQPopupMenu class KDatePickerPopup: public TQPopupMenu
{ {
Q_OBJECT TQ_OBJECT
public: public:
enum { NoDate = 1, DatePicker = 2, Words = 4 }; enum { NoDate = 1, DatePicker = 2, Words = 4 };

@ -24,7 +24,7 @@ class DBListViewBase;
class KreListView: public TQVBox class KreListView: public TQVBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
KreListView( TQWidget *parent, const TQString &title = TQString::null, bool filter = false, int filterCol = 0, TQWidget *embeddedWidget = 0 ); KreListView( TQWidget *parent, const TQString &title = TQString::null, bool filter = false, int filterCol = 0, TQWidget *embeddedWidget = 0 );

@ -60,7 +60,7 @@ private:
class KreMenu : public TQWidget class KreMenu : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
KreMenu( TQWidget *parent = 0, const char *name = 0 ); KreMenu( TQWidget *parent = 0, const char *name = 0 );
~KreMenu(); ~KreMenu();
@ -105,7 +105,7 @@ private slots:
class KreMenuButton: public TQWidget class KreMenuButton: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
KreMenuButton( KreMenu *parent, KrePanel panel = KrePanel( -1 ), MenuId id = 0, const char *name = 0 ); KreMenuButton( KreMenu *parent, KrePanel panel = KrePanel( -1 ), MenuId id = 0, const char *name = 0 );

@ -104,7 +104,7 @@ class KoRulerPrivate;
*/ */
class KoRuler : public TQFrame class KoRuler : public TQFrame
{ {
Q_OBJECT TQ_OBJECT
friend class KoRulerPrivate; // for the Action enum friend class KoRulerPrivate; // for the Action enum
public: public:
static const int F_TABS; static const int F_TABS;

@ -21,7 +21,7 @@
*/ */
class KreTextEdit : public KTextEdit, TDECompletionBase class KreTextEdit : public KTextEdit, TDECompletionBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
KreTextEdit( TQWidget *parent ); KreTextEdit( TQWidget *parent );

@ -33,7 +33,7 @@ typedef bool (*show_callback) (int index, TQWidget* widget, void* data);
class KWidgetListbox : public TQTable class KWidgetListbox : public TQTable
{ {
Q_OBJECT TQ_OBJECT
public: public:
KWidgetListbox(TQWidget *parent = 0, const char *name = 0); KWidgetListbox(TQWidget *parent = 0, const char *name = 0);

@ -31,7 +31,7 @@ class TopDeco;
class PanelDeco : public TQVBox class PanelDeco : public TQVBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
// Methods // Methods
PanelDeco( TQWidget *parent = 0, const char *name = 0, const TQString &title = TQString::null, const TQString &iconName = TQString::null ); 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 class LeftDeco: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
LeftDeco( TQWidget *parent = 0, const char *name = 0 ); LeftDeco( TQWidget *parent = 0, const char *name = 0 );
@ -68,7 +68,7 @@ public:
class TopDeco: public TQWidget class TopDeco: public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
TopDeco( TQWidget *parent = 0, const char *name = 0, const TQString &title = TQString::null, const TQString &iconName = TQString::null ); TopDeco( TQWidget *parent = 0, const char *name = 0, const TQString &title = TQString::null, const TQString &iconName = TQString::null );
~TopDeco(); ~TopDeco();

@ -22,7 +22,7 @@ class ElementList;
class PrepMethodComboBox : public KComboBox class PrepMethodComboBox : public KComboBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
PrepMethodComboBox( bool, TQWidget *parent, RecipeDB *db, const TQString &specialItem = TQString::null ); PrepMethodComboBox( bool, TQWidget *parent, RecipeDB *db, const TQString &specialItem = TQString::null );

@ -20,7 +20,7 @@ class TDEPopupMenu;
class PrepMethodListView : public DBListViewBase class PrepMethodListView : public DBListViewBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
PrepMethodListView( TQWidget *parent, RecipeDB *db ); PrepMethodListView( TQWidget *parent, RecipeDB *db );
@ -41,7 +41,7 @@ protected:
class StdPrepMethodListView : public PrepMethodListView class StdPrepMethodListView : public PrepMethodListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
StdPrepMethodListView( TQWidget *parent, RecipeDB *db, bool editable = false ); StdPrepMethodListView( TQWidget *parent, RecipeDB *db, bool editable = false );

@ -127,7 +127,7 @@ public:
class PropertyListView : public TDEListView class PropertyListView : public TDEListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
PropertyListView( TQWidget *parent, RecipeDB * ); PropertyListView( TQWidget *parent, RecipeDB * );
@ -148,7 +148,7 @@ protected slots:
class StdPropertyListView : public PropertyListView class StdPropertyListView : public PropertyListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
StdPropertyListView( TQWidget *parent, RecipeDB *, bool editable = false ); StdPropertyListView( TQWidget *parent, RecipeDB *, bool editable = false );
@ -188,7 +188,7 @@ protected:
class CheckPropertyListView : public StdPropertyListView class CheckPropertyListView : public StdPropertyListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
CheckPropertyListView( TQWidget *parent, RecipeDB *, bool editable = false ); CheckPropertyListView( TQWidget *parent, RecipeDB *, bool editable = false );

@ -24,7 +24,7 @@
* @author Robby Stephenson * @author Robby Stephenson
*/ */
class RatingWidget : public TQHBox { class RatingWidget : public TQHBox {
Q_OBJECT TQ_OBJECT
typedef TQPtrList<TQLabel> LabelList; typedef TQPtrList<TQLabel> LabelList;

@ -125,7 +125,7 @@ public:
class RecipeListView : public StdCategoryListView class RecipeListView : public StdCategoryListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
RecipeListView( TQWidget *parent, RecipeDB *db ); RecipeListView( TQWidget *parent, RecipeDB *db );

@ -21,7 +21,7 @@ class RecipeDB;
class UnitComboBox : public KComboBox class UnitComboBox : public KComboBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
UnitComboBox( TQWidget *parent, RecipeDB *db, Unit::Type type = Unit::All ); UnitComboBox( TQWidget *parent, RecipeDB *db, Unit::Type type = Unit::All );

@ -24,7 +24,7 @@ class TDEPopupMenu;
class UnitListView : public DBListViewBase class UnitListView : public DBListViewBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
UnitListView( TQWidget *parent, RecipeDB *db ); UnitListView( TQWidget *parent, RecipeDB *db );
@ -44,7 +44,7 @@ protected:
class StdUnitListView : public UnitListView class StdUnitListView : public UnitListView
{ {
Q_OBJECT TQ_OBJECT
public: public:
StdUnitListView( TQWidget *parent, RecipeDB *db, bool editable = false ); StdUnitListView( TQWidget *parent, RecipeDB *db, bool editable = false );

@ -20,7 +20,7 @@ class Weight;
class WeightInput : public AmountUnitInput class WeightInput : public AmountUnitInput
{ {
Q_OBJECT TQ_OBJECT
public: public:
WeightInput( TQWidget *parent, RecipeDB *database, Unit::Type type = Unit::All, MixedNumber::Format f = MixedNumber::MixedNumberFormat ); WeightInput( TQWidget *parent, RecipeDB *database, Unit::Type type = Unit::All, MixedNumber::Format f = MixedNumber::MixedNumberFormat );

Loading…
Cancel
Save