From 0cb23300070f6984b4f976f1c92984399a8aaa10 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 13:35:00 +0900 Subject: [PATCH] Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit af97112a1a1c815e48080046e495510f41507206) --- kontact_plugin/basket_plugin.h | 2 +- kontact_plugin/uniqueapphandler.h | 2 +- src/backgroundmanager.h | 2 +- src/backup.h | 2 +- src/basket.h | 10 +++++----- src/basket_part.h | 2 +- src/basketlistview.h | 2 +- src/basketproperties.h | 2 +- src/basketstatusbar.h | 2 +- src/bnpview.h | 2 +- src/clickablelabel.h | 2 +- src/colorpicker.h | 2 +- src/debugwindow.h | 2 +- src/exporterdialog.h | 2 +- src/filter.h | 2 +- src/focusedwidgets.h | 10 +++++----- src/formatimporter.h | 2 +- src/kcolorcombo2.h | 4 ++-- src/kiconcanvas.h | 2 +- src/kicondialog.h | 4 ++-- src/likeback.h | 2 +- src/likeback_private.h | 4 ++-- src/linklabel.h | 4 ++-- src/mainwindow.h | 2 +- src/newbasketdialog.h | 4 ++-- src/notecontent.h | 8 ++++---- src/notedrag.h | 4 ++-- src/noteedit.h | 28 ++++++++++++++-------------- src/password.h | 4 ++-- src/qeffects.h | 4 ++-- src/regiongrabber.h | 2 +- src/settings.h | 10 +++++----- src/softwareimporters.h | 4 ++-- src/systemtray.h | 4 ++-- src/tagsedit.h | 4 ++-- src/variouswidgets.h | 12 ++++++------ 36 files changed, 80 insertions(+), 80 deletions(-) diff --git a/kontact_plugin/basket_plugin.h b/kontact_plugin/basket_plugin.h index b45d389..9ad1f9e 100644 --- a/kontact_plugin/basket_plugin.h +++ b/kontact_plugin/basket_plugin.h @@ -39,7 +39,7 @@ class BasketUniqueAppHandler : public Kontact::UniqueAppHandler class BasketPlugin : public Kontact::Plugin { - Q_OBJECT + TQ_OBJECT public: diff --git a/kontact_plugin/uniqueapphandler.h b/kontact_plugin/uniqueapphandler.h index 4c1ba7f..2cce337 100644 --- a/kontact_plugin/uniqueapphandler.h +++ b/kontact_plugin/uniqueapphandler.h @@ -88,7 +88,7 @@ template class UniqueAppHandlerFactory : public UniqueAppHandlerFactor */ class KDE_EXPORT UniqueAppWatcher : public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/backgroundmanager.h b/src/backgroundmanager.h index 73f2915..bf29d20 100644 --- a/src/backgroundmanager.h +++ b/src/backgroundmanager.h @@ -87,7 +87,7 @@ class OpaqueBackgroundEntry */ class BackgroundManager : private TQObject { - Q_OBJECT + TQ_OBJECT private: /// LIST OF IMAGES: diff --git a/src/backup.h b/src/backup.h index e3086f6..0fded28 100644 --- a/src/backup.h +++ b/src/backup.h @@ -30,7 +30,7 @@ */ class BackupDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: BackupDialog(TQWidget *parent = 0, const char *name = 0); diff --git a/src/basket.h b/src/basket.h index b27d26c..35254f1 100644 --- a/src/basket.h +++ b/src/basket.h @@ -57,7 +57,7 @@ class KGpgMe; */ class DiskErrorDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: DiskErrorDialog(const TQString &titleMessage, const TQString &message, TQWidget *parent = 0); @@ -126,7 +126,7 @@ class HtmlExportData */ class DecoratedBasket : public TQWidget { - Q_OBJECT + TQ_OBJECT public: DecoratedBasket(TQWidget *parent, const TQString &folderName, const char *name = 0, WFlags fl = 0); @@ -146,7 +146,7 @@ class DecoratedBasket : public TQWidget class TransparentWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: TransparentWidget(Basket *basket); @@ -168,7 +168,7 @@ class TransparentWidget : public TQWidget class Basket : public TQScrollView, public TQToolTip { /// CONSTRUCTOR AND DESTRUCTOR: - Q_OBJECT + TQ_OBJECT public: enum EncryptionTypes { @@ -740,7 +740,7 @@ class FileEvent */ clas s Bas ket : public TQScrollView { - Q_OBJECT + TQ_OBJECT public: /** Construtor and destructor */ diff --git a/src/basket_part.h b/src/basket_part.h index 5fc094c..365c7c1 100644 --- a/src/basket_part.h +++ b/src/basket_part.h @@ -40,7 +40,7 @@ class BNPView; */ class BasketPart : public KParts::ReadWritePart { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/src/basketlistview.h b/src/basketlistview.h index 7bfbf5f..d64d395 100644 --- a/src/basketlistview.h +++ b/src/basketlistview.h @@ -76,7 +76,7 @@ class BasketListViewItem : public TQListViewItem class BasketTreeListView : public TDEListView { - Q_OBJECT + TQ_OBJECT public: BasketTreeListView(TQWidget *parent = 0, const char *name = 0); diff --git a/src/basketproperties.h b/src/basketproperties.h index e139683..305e0fd 100644 --- a/src/basketproperties.h +++ b/src/basketproperties.h @@ -41,7 +41,7 @@ class KColorCombo2; */ class BasketPropertiesDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: BasketPropertiesDialog(Basket *basket, TQWidget *parent = 0); diff --git a/src/basketstatusbar.h b/src/basketstatusbar.h index bb8a56a..aad0caf 100644 --- a/src/basketstatusbar.h +++ b/src/basketstatusbar.h @@ -34,7 +34,7 @@ class ClickableLabel; */ class KDE_EXPORT BasketStatusBar : public TQObject { - Q_OBJECT + TQ_OBJECT public: BasketStatusBar(KStatusBar *bar); diff --git a/src/bnpview.h b/src/bnpview.h index bbbcb7f..1a8b93f 100644 --- a/src/bnpview.h +++ b/src/bnpview.h @@ -56,7 +56,7 @@ class Note; class KDE_EXPORT BNPView : public TQSplitter, virtual public BasketDcopInterface { - Q_OBJECT + TQ_OBJECT public: /// CONSTRUCTOR AND DESTRUCTOR: diff --git a/src/clickablelabel.h b/src/clickablelabel.h index 26e1923..87c838c 100644 --- a/src/clickablelabel.h +++ b/src/clickablelabel.h @@ -28,7 +28,7 @@ */ class ClickableLabel : public TQLabel { - Q_OBJECT + TQ_OBJECT public: /** Construtor, initializer and destructor */ diff --git a/src/colorpicker.h b/src/colorpicker.h index b8e9b5d..d52e30f 100644 --- a/src/colorpicker.h +++ b/src/colorpicker.h @@ -28,7 +28,7 @@ */ class DesktopColorPicker : public TQDesktopWidget { - Q_OBJECT + TQ_OBJECT public: /** Construtor, initializer and destructor */ diff --git a/src/debugwindow.h b/src/debugwindow.h index b167d50..6175390 100644 --- a/src/debugwindow.h +++ b/src/debugwindow.h @@ -33,7 +33,7 @@ class TQCloseEvent; */ class DebugWindow : public TQWidget { - Q_OBJECT + TQ_OBJECT public: /** Construtor and destructor */ diff --git a/src/exporterdialog.h b/src/exporterdialog.h index 44bb2cf..c66d20a 100644 --- a/src/exporterdialog.h +++ b/src/exporterdialog.h @@ -34,7 +34,7 @@ class Basket; */ class ExporterDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: ExporterDialog(Basket *basket, TQWidget *parent = 0, const char *name = 0); diff --git a/src/filter.h b/src/filter.h index a9c7e38..4047231 100644 --- a/src/filter.h +++ b/src/filter.h @@ -55,7 +55,7 @@ class FilterData */ class FilterBar : public TQWidget { - Q_OBJECT + TQ_OBJECT public: FilterBar(TQWidget *parent = 0, const char *name = 0); diff --git a/src/focusedwidgets.h b/src/focusedwidgets.h index 2b72fbc..0e78c91 100644 --- a/src/focusedwidgets.h +++ b/src/focusedwidgets.h @@ -31,7 +31,7 @@ class FocusedTextEdit : public KTextEdit { - Q_OBJECT + TQ_OBJECT public: FocusedTextEdit(bool disableUpdatesOnKeyPress, TQWidget *parent = 0, const char *name = 0); @@ -54,7 +54,7 @@ class FocusedTextEdit : public KTextEdit // TODO: Rename to EscapableKColorCombo class FocusedColorCombo : public KColorCombo { - Q_OBJECT + TQ_OBJECT public: FocusedColorCombo(TQWidget *parent = 0, const char *name = 0); @@ -69,7 +69,7 @@ class FocusedColorCombo : public KColorCombo // TODO: Rename to EscapableTDEFontCombo class FocusedFontCombo : public TDEFontCombo { - Q_OBJECT + TQ_OBJECT public: FocusedFontCombo(TQWidget *parent = 0, const char *name = 0); @@ -84,7 +84,7 @@ class FocusedFontCombo : public TDEFontCombo // TODO: Rename to EscapableKComboBox class FocusedComboBox : public KComboBox { - Q_OBJECT + TQ_OBJECT public: FocusedComboBox(TQWidget *parent = 0, const char *name = 0); @@ -99,7 +99,7 @@ class FocusedComboBox : public KComboBox // TODO: Rename to EscapableKLineEdit class FocusedLineEdit : public KLineEdit { - Q_OBJECT + TQ_OBJECT public: FocusedLineEdit(TQWidget *parent = 0, const char *name = 0); diff --git a/src/formatimporter.h b/src/formatimporter.h index 7b8b75d..43bf270 100644 --- a/src/formatimporter.h +++ b/src/formatimporter.h @@ -34,7 +34,7 @@ namespace TDEIO { */ class FormatImporter : TQObject { - Q_OBJECT + TQ_OBJECT public: static bool shouldImportBaskets(); diff --git a/src/kcolorcombo2.h b/src/kcolorcombo2.h index 2a34dcb..72c3ee4 100644 --- a/src/kcolorcombo2.h +++ b/src/kcolorcombo2.h @@ -75,7 +75,7 @@ class KColorPopup; */ class KColorCombo2 : public TQComboBox { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY(TQColor color READ color WRITE setColor) TQ_PROPERTY(TQColor defaultColor READ defaultColor WRITE setDefaultColor) @@ -311,7 +311,7 @@ class KColorCombo2 : public TQComboBox class KColorPopup : public TQWidget { - Q_OBJECT + TQ_OBJECT public: KColorPopup(KColorCombo2 *parent); diff --git a/src/kiconcanvas.h b/src/kiconcanvas.h index 8891610..842f3d7 100644 --- a/src/kiconcanvas.h +++ b/src/kiconcanvas.h @@ -30,7 +30,7 @@ class TQIconLoader; class TDEIO_EXPORT TDEIconCanvas: public TDEIconView /* NOTE: Why export this? */ { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/kicondialog.h b/src/kicondialog.h index e2511c9..0f58759 100644 --- a/src/kicondialog.h +++ b/src/kicondialog.h @@ -42,7 +42,7 @@ class TDEIconLoader; */ class TDEIO_EXPORT TDEIconDialog: public KDialogBase { - Q_OBJECT + TQ_OBJECT public: @@ -217,7 +217,7 @@ private: */ class TDEIO_EXPORT TDEIconButton: public TQPushButton { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQString icon READ icon WRITE setIcon RESET resetIcon ) TQ_PROPERTY( int iconSize READ iconSize WRITE setIconSize) diff --git a/src/likeback.h b/src/likeback.h index 16ac184..631a134 100644 --- a/src/likeback.h +++ b/src/likeback.h @@ -73,7 +73,7 @@ class LikeBackDialog; */ class LikeBack : public TQObject { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/src/likeback_private.h b/src/likeback_private.h index fa44244..24917ca 100644 --- a/src/likeback_private.h +++ b/src/likeback_private.h @@ -56,7 +56,7 @@ class LikeBackPrivate class LikeBackBar : public TQWidget { - Q_OBJECT + TQ_OBJECT public: LikeBackBar(LikeBack *likeBack); @@ -81,7 +81,7 @@ class LikeBackBar : public TQWidget class LikeBackDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: LikeBackDialog(LikeBack::Button reason, const TQString &initialComment, const TQString &windowPath, const TQString &context, LikeBack *likeBack); diff --git a/src/linklabel.h b/src/linklabel.h index 3cddc05..4048fee 100644 --- a/src/linklabel.h +++ b/src/linklabel.h @@ -99,7 +99,7 @@ class LinkLook */ class LinkLabel : public TQFrame { - Q_OBJECT + TQ_OBJECT public: LinkLabel(int hAlign, int vAlign, TQWidget *parent = 0, const char *name = 0, WFlags f = 0); @@ -179,7 +179,7 @@ class LinkDisplay */ class LinkLookEditWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: LinkLookEditWidget(TDECModule* module, const TQString exTitle, const TQString exIcon, diff --git a/src/mainwindow.h b/src/mainwindow.h index 9d9ea90..3026481 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -59,7 +59,7 @@ namespace KSettings { class Dialog; }; */ class MainWindow : public TDEMainWindow { - Q_OBJECT + TQ_OBJECT public: /** Construtor, initializer and destructor */ diff --git a/src/newbasketdialog.h b/src/newbasketdialog.h index 07a081a..0dd5df9 100644 --- a/src/newbasketdialog.h +++ b/src/newbasketdialog.h @@ -40,7 +40,7 @@ class KColorCombo2; */ class SingleSelectionTDEIconView : public TDEIconView { - Q_OBJECT + TQ_OBJECT public: SingleSelectionTDEIconView(TQWidget *parent = 0, const char *name = 0, WFlags f = 0); @@ -77,7 +77,7 @@ struct NewBasketDefaultProperties */ class NewBasketDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: NewBasketDialog(Basket *parentBasket, const NewBasketDefaultProperties &defaultProperties, TQWidget *parent = 0); diff --git a/src/notecontent.h b/src/notecontent.h index 00f233b..ef9da86 100644 --- a/src/notecontent.h +++ b/src/notecontent.h @@ -275,7 +275,7 @@ class ImageContent : public NoteContent */ class AnimationContent : public TQObject, public NoteContent // TQObject to be able to receive TQMovie signals { - Q_OBJECT + TQ_OBJECT public: // Constructor and destructor: @@ -324,7 +324,7 @@ class AnimationContent : public TQObject, public NoteContent // TQObject to be a */ class FileContent : public TQObject, public NoteContent { - Q_OBJECT + TQ_OBJECT public: // Constructor and destructor: @@ -378,7 +378,7 @@ class FileContent : public TQObject, public NoteContent */ class SoundContent : public FileContent // A sound is a file with just a bit different user interaction { - Q_OBJECT + TQ_OBJECT public: // Constructor and destructor: @@ -410,7 +410,7 @@ class SoundContent : public FileContent // A sound is a file with just a bit dif */ class LinkContent : public TQObject, public NoteContent { - Q_OBJECT + TQ_OBJECT public: // Constructor and destructor: diff --git a/src/notedrag.h b/src/notedrag.h index 58cc1d5..8c1356b 100644 --- a/src/notedrag.h +++ b/src/notedrag.h @@ -80,7 +80,7 @@ class NoteDrag */ class ExtendedTextDrag : public TQTextDrag { - Q_OBJECT + TQ_OBJECT public: static bool decode(const TQMimeSource *e, TQString &str); @@ -92,7 +92,7 @@ class ExtendedTextDrag : public TQTextDrag #include class KURLDrag2 : public KURLDrag { - Q_OBJECT + TQ_OBJECT public: KURLDrag2(const KURL::List &urls) : KURLDrag(urls) {} diff --git a/src/noteedit.h b/src/noteedit.h index 3e88d3f..a422fd3 100644 --- a/src/noteedit.h +++ b/src/noteedit.h @@ -60,7 +60,7 @@ class FocusedColorCombo; */ class NoteEditor : public TQObject { - Q_OBJECT + TQ_OBJECT public: NoteEditor(NoteContent *noteContent); @@ -100,7 +100,7 @@ class NoteEditor : public TQObject class TextEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: TextEditor(TextContent *textContent, TQWidget *parent); @@ -113,7 +113,7 @@ class TextEditor : public NoteEditor class HtmlEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: HtmlEditor(HtmlContent *htmlContent, TQWidget *parent); @@ -139,7 +139,7 @@ class HtmlEditor : public NoteEditor class ImageEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: ImageEditor(ImageContent *imageContent, TQWidget *parent); @@ -147,7 +147,7 @@ class ImageEditor : public NoteEditor class AnimationEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: AnimationEditor(AnimationContent *animationContent, TQWidget *parent); @@ -155,7 +155,7 @@ class AnimationEditor : public NoteEditor class FileEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: FileEditor(FileContent *fileContent, TQWidget *parent); @@ -168,7 +168,7 @@ class FileEditor : public NoteEditor class LinkEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: LinkEditor(LinkContent *linkContent, TQWidget *parent); @@ -176,7 +176,7 @@ class LinkEditor : public NoteEditor class LauncherEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: LauncherEditor(LauncherContent *launcherContent, TQWidget *parent); @@ -184,7 +184,7 @@ class LauncherEditor : public NoteEditor class ColorEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: ColorEditor(ColorContent *colorContent, TQWidget *parent); @@ -192,7 +192,7 @@ class ColorEditor : public NoteEditor class UnknownEditor : public NoteEditor { - Q_OBJECT + TQ_OBJECT public: UnknownEditor(UnknownContent *unknownContent, TQWidget *parent); @@ -205,7 +205,7 @@ class UnknownEditor : public NoteEditor */ class DebuggedLineEdit : public TQLineEdit { - Q_OBJECT + TQ_OBJECT public: DebuggedLineEdit(const TQString &text, TQWidget *parent = 0); @@ -219,7 +219,7 @@ class DebuggedLineEdit : public TQLineEdit */ class LinkEditDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: LinkEditDialog(LinkContent *contentNote, TQWidget *parent = 0); @@ -248,7 +248,7 @@ class LinkEditDialog : public KDialogBase */ class LauncherEditDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: LauncherEditDialog(LauncherContent *contentNote, TQWidget *parent = 0); @@ -271,7 +271,7 @@ class LauncherEditDialog : public KDialogBase */ class InlineEditors : public TQObject { - Q_OBJECT + TQ_OBJECT public: InlineEditors(); diff --git a/src/password.h b/src/password.h index 0c1273c..5f3bacb 100644 --- a/src/password.h +++ b/src/password.h @@ -34,7 +34,7 @@ */ class Password : public PasswordLayout { - Q_OBJECT + TQ_OBJECT public: Password(TQWidget *parent, const char *name = 0); @@ -43,7 +43,7 @@ class Password : public PasswordLayout class PasswordDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: PasswordDlg(TQWidget *parent, const char *name = 0); diff --git a/src/qeffects.h b/src/qeffects.h index ac8e4d5..403693f 100644 --- a/src/qeffects.h +++ b/src/qeffects.h @@ -114,7 +114,7 @@ class TQAccessWidget : public TQWidget class TQAlphaWidget: public TQWidget, private TQEffects { - Q_OBJECT + TQ_OBJECT public: TQAlphaWidget( TQWidget* w, WFlags f = 0 ); @@ -153,7 +153,7 @@ class TQAlphaWidget: public TQWidget, private TQEffects class TQRollEffect : public TQWidget, private TQEffects { - Q_OBJECT + TQ_OBJECT public: TQRollEffect( TQWidget* w, WFlags f, DirFlags orient ); diff --git a/src/regiongrabber.h b/src/regiongrabber.h index 1da559f..52cb3f4 100644 --- a/src/regiongrabber.h +++ b/src/regiongrabber.h @@ -39,7 +39,7 @@ class SizeTip : public TQLabel class RegionGrabber : public TQWidget { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/settings.h b/src/settings.h index 93603da..24b4ba3 100644 --- a/src/settings.h +++ b/src/settings.h @@ -55,7 +55,7 @@ class IconSizeCombo; class KDE_EXPORT GeneralPage : public TDECModule { - Q_OBJECT + TQ_OBJECT public: GeneralPage(TQWidget * parent=0, const char * name=0); @@ -84,7 +84,7 @@ class KDE_EXPORT GeneralPage : public TDECModule class KDE_EXPORT BasketsPage : public TDECModule { - Q_OBJECT + TQ_OBJECT public: BasketsPage(TQWidget * parent=0, const char * name=0); @@ -116,7 +116,7 @@ class KDE_EXPORT BasketsPage : public TDECModule class KDE_EXPORT NewNotesPage : public TDECModule { - Q_OBJECT + TQ_OBJECT public: NewNotesPage(TQWidget * parent=0, const char * name=0); @@ -145,7 +145,7 @@ class KDE_EXPORT NewNotesPage : public TDECModule class KDE_EXPORT NotesAppearancePage : public TDECModule { - Q_OBJECT + TQ_OBJECT public: NotesAppearancePage(TQWidget * parent=0, const char * name=0); @@ -166,7 +166,7 @@ class KDE_EXPORT NotesAppearancePage : public TDECModule class KDE_EXPORT ApplicationsPage : public TDECModule { - Q_OBJECT + TQ_OBJECT public: ApplicationsPage(TQWidget * parent=0, const char * name=0); diff --git a/src/softwareimporters.h b/src/softwareimporters.h index 342bdc2..9c742ca 100644 --- a/src/softwareimporters.h +++ b/src/softwareimporters.h @@ -37,7 +37,7 @@ class Note; */ class TreeImportDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: TreeImportDialog(TQWidget *parent = 0); @@ -52,7 +52,7 @@ class TreeImportDialog : public KDialogBase */ class TextFileImportDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: TextFileImportDialog(TQWidget *parent = 0); diff --git a/src/systemtray.h b/src/systemtray.h index 0a582ef..cf1b974 100644 --- a/src/systemtray.h +++ b/src/systemtray.h @@ -31,7 +31,7 @@ class MainWindow; */ class KDE_EXPORT KSystemTray2 : public KSystemTray { - Q_OBJECT + TQ_OBJECT public: KSystemTray2(TQWidget *parent = 0, const char *name = 0); @@ -53,7 +53,7 @@ class KDE_EXPORT KSystemTray2 : public KSystemTray */ class SystemTray : public KSystemTray2 { - Q_OBJECT + TQ_OBJECT public: SystemTray(TQWidget *parent = 0, const char *name = 0); diff --git a/src/tagsedit.h b/src/tagsedit.h index 27186cd..e6f6909 100644 --- a/src/tagsedit.h +++ b/src/tagsedit.h @@ -96,7 +96,7 @@ class TagListViewItem : public TQListViewItem class TagListView : public TQListView { - Q_OBJECT + TQ_OBJECT public: TagListView(TQWidget *parent = 0, const char *name = 0, WFlags flags = 0); @@ -118,7 +118,7 @@ class TagListView : public TQListView */ class TagsEditDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: TagsEditDialog(TQWidget *parent = 0, State *stateToEdit = 0, bool addNewTag = false); diff --git a/src/variouswidgets.h b/src/variouswidgets.h index 850d3d7..4e0e5c9 100644 --- a/src/variouswidgets.h +++ b/src/variouswidgets.h @@ -40,7 +40,7 @@ class Basket; */ class RunCommandRequester : public TQWidget { - Q_OBJECT + TQ_OBJECT public: RunCommandRequester(const TQString &runCommand, const TQString &message, TQWidget *parent = 0, const char *name = 0); @@ -60,7 +60,7 @@ class RunCommandRequester : public TQWidget */ class IconSizeCombo : public TQComboBox { - Q_OBJECT + TQ_OBJECT public: IconSizeCombo(bool rw, TQWidget *parent = 0, const char *name = 0); @@ -75,7 +75,7 @@ class IconSizeCombo : public TQComboBox */ class ViewSizeDialog : public TQDialog { - Q_OBJECT + TQ_OBJECT public: ViewSizeDialog(TQWidget *parent, int w, int h); @@ -90,7 +90,7 @@ class ViewSizeDialog : public TQDialog */ class HelpLabel : public KURLLabel { - Q_OBJECT + TQ_OBJECT public: HelpLabel(const TQString &text, const TQString &message, TQWidget *parent); @@ -110,7 +110,7 @@ class HelpLabel : public KURLLabel */ class IconSizeDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: IconSizeDialog(const TQString &caption, const TQString &message, const TQString &icon, int iconSize, TQWidget *parent); @@ -135,7 +135,7 @@ class IconSizeDialog : public KDialogBase */ class FontSizeCombo : public KComboBox { - Q_OBJECT + TQ_OBJECT public: FontSizeCombo(bool rw, bool withDefault, TQWidget *parent = 0, const char *name = 0);