Replace Q_OBJECT with TQ_OBJECT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 1 year ago
parent f062c97808
commit a78b88955c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

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

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

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

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

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

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

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

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

@ -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 );

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

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

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

@ -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 );

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

@ -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 );

@ -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 );

@ -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 );

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

@ -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 );

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

@ -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 );

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

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

@ -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 );

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

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

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

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

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

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

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

@ -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 );

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

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

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

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

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

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

@ -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

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

@ -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 );

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

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

@ -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

@ -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 );

@ -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 );

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

@ -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() );

@ -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;

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

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

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

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

@ -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 );

@ -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 );

@ -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 );

@ -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 );

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

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

@ -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 );

@ -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 );

@ -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;

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

@ -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);

@ -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();

@ -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 );

@ -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 );

@ -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 );

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

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

@ -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 );

@ -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 );

@ -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 );

Loading…
Cancel
Save