diff options
Diffstat (limited to 'lib')
136 files changed, 223 insertions, 223 deletions
diff --git a/lib/kformula/MatrixDialog.h b/lib/kformula/MatrixDialog.h index 62e104c9..bc5bd7f1 100644 --- a/lib/kformula/MatrixDialog.h +++ b/lib/kformula/MatrixDialog.h @@ -34,7 +34,7 @@ KFORMULA_NAMESPACE_BEGIN class MatrixDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kformula/kformulaconfigpage.h b/lib/kformula/kformulaconfigpage.h index 2649ffa3..54856a04 100644 --- a/lib/kformula/kformulaconfigpage.h +++ b/lib/kformula/kformulaconfigpage.h @@ -52,7 +52,7 @@ class Document; class KOFORMULA_EXPORT ConfigurePage : public TQObject { Q_OBJECT - TQ_OBJECT + public: ConfigurePage( Document* document, TQWidget* view, KConfig* config, TQVBox* box, char* name = 0 ); @@ -111,7 +111,7 @@ private: // class MathFontsConfigurePage : public TQObject // { // Q_OBJECT -// TQ_OBJECT +// // public: // MathFontsConfigurePage( Document* document, TQWidget* view, KConfig* config, TQVBox* box, char* name = 0 ); diff --git a/lib/kformula/kformulacontainer.h b/lib/kformula/kformulacontainer.h index f40f915b..41c4c9bf 100644 --- a/lib/kformula/kformulacontainer.h +++ b/lib/kformula/kformulacontainer.h @@ -90,7 +90,7 @@ public: class KOFORMULA_EXPORT Container : public TQObject, public FormulaDocument { friend class MimeSource; Q_OBJECT - TQ_OBJECT + // no copying Container( const Container& ); diff --git a/lib/kformula/kformuladocument.h b/lib/kformula/kformuladocument.h index 4d757262..61fdb7cc 100644 --- a/lib/kformula/kformuladocument.h +++ b/lib/kformula/kformuladocument.h @@ -67,7 +67,7 @@ protected: */ class KOFORMULA_EXPORT Document : public TQObject { Q_OBJECT - TQ_OBJECT + friend class DocumentWrapper; friend class Container; @@ -291,7 +291,7 @@ private: */ class KOFORMULA_EXPORT DocumentWrapper : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kformula/kformulainputfilter.h b/lib/kformula/kformulainputfilter.h index 81b0625e..50d299b8 100644 --- a/lib/kformula/kformulainputfilter.h +++ b/lib/kformula/kformulainputfilter.h @@ -31,7 +31,7 @@ KFORMULA_NAMESPACE_BEGIN class KFInputFilter : public TQObject { Q_OBJECT - TQ_OBJECT + public: /* * Get the just created DOM. diff --git a/lib/kformula/kformulamathmlread.h b/lib/kformula/kformulamathmlread.h index 2aad4d68..9fad12ca 100644 --- a/lib/kformula/kformulamathmlread.h +++ b/lib/kformula/kformulamathmlread.h @@ -37,7 +37,7 @@ class MathML2KFormulaPrivate; class MathML2KFormula : public KFInputFilter { Q_OBJECT - TQ_OBJECT + friend class MathML2KFormulaPrivate; diff --git a/lib/kformula/kformulaview.h b/lib/kformula/kformulaview.h index cb9c715b..bf692282 100644 --- a/lib/kformula/kformulaview.h +++ b/lib/kformula/kformulaview.h @@ -49,7 +49,7 @@ class Container; */ class KOFORMULA_EXPORT View : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kformula/kformulawidget.h b/lib/kformula/kformulawidget.h index 1b6d8d98..dd15684c 100644 --- a/lib/kformula/kformulawidget.h +++ b/lib/kformula/kformulawidget.h @@ -47,7 +47,7 @@ using namespace KFormula; */ class KFormulaWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KFormulaWidget(Container*, TQWidget* parent=0, const char* name=0, WFlags f=0); diff --git a/lib/kformula/scrollview.h b/lib/kformula/scrollview.h index 3ed2bbcb..fad75420 100644 --- a/lib/kformula/scrollview.h +++ b/lib/kformula/scrollview.h @@ -13,7 +13,7 @@ using namespace KFormula; class ScrollView : public TQScrollView { Q_OBJECT - TQ_OBJECT + public: ScrollView(); diff --git a/lib/kofficecore/KoApplication.h b/lib/kofficecore/KoApplication.h index d6f44929..1682b245 100644 --- a/lib/kofficecore/KoApplication.h +++ b/lib/kofficecore/KoApplication.h @@ -42,7 +42,7 @@ class KoApplicationPrivate; class KOFFICECORE_EXPORT KoApplication : public KApplication { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficecore/KoChild.h b/lib/kofficecore/KoChild.h index fe345e2e..16b0f302 100644 --- a/lib/kofficecore/KoChild.h +++ b/lib/kofficecore/KoChild.h @@ -41,7 +41,7 @@ class KOFFICECORE_EXPORT KoChild : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficecore/KoContainerHandler.h b/lib/kofficecore/KoContainerHandler.h index 0187128d..43d2fbbf 100644 --- a/lib/kofficecore/KoContainerHandler.h +++ b/lib/kofficecore/KoContainerHandler.h @@ -43,7 +43,7 @@ class KoPartMoveHandlerPrivate; class KOFFICECORE_EXPORT KoEventHandler : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoEventHandler( TQObject* target ); ~KoEventHandler(); @@ -61,7 +61,7 @@ private: class KoPartResizeHandler : public KoEventHandler { Q_OBJECT - TQ_OBJECT + public: KoPartResizeHandler( TQWidget* widget, const TQWMatrix& matrix, KoView* view, KoChild* child, KoChild::Gadget gadget, const TQPoint& point ); @@ -82,7 +82,7 @@ private: class KoPartMoveHandler : public KoEventHandler { Q_OBJECT - TQ_OBJECT + public: KoPartMoveHandler( TQWidget* widget, const TQWMatrix& matrix, KoView* view, KoChild* child, const TQPoint& point ); @@ -112,7 +112,7 @@ private: class KOFFICECORE_EXPORT KoContainerHandler : public KoEventHandler { Q_OBJECT - TQ_OBJECT + public: KoContainerHandler( KoView* view, TQWidget* widget ); ~KoContainerHandler(); diff --git a/lib/kofficecore/KoDetailsPane.h b/lib/kofficecore/KoDetailsPane.h index 7264cd78..9f1cf7ba 100644 --- a/lib/kofficecore/KoDetailsPane.h +++ b/lib/kofficecore/KoDetailsPane.h @@ -46,7 +46,7 @@ class KoTemplatesPanePrivate; class KoTemplatesPane : public KoDetailsPaneBase { Q_OBJECT - TQ_OBJECT + public: /** * Constructor. @@ -97,7 +97,7 @@ class KoTemplatesPane : public KoDetailsPaneBase class KoRecentDocumentsPane : public KoDetailsPaneBase { Q_OBJECT - TQ_OBJECT + public: /** * Constructor. diff --git a/lib/kofficecore/KoDocument.h b/lib/kofficecore/KoDocument.h index 1a5d0805..829639ac 100644 --- a/lib/kofficecore/KoDocument.h +++ b/lib/kofficecore/KoDocument.h @@ -61,7 +61,7 @@ class KoOpenPane; class KOFFICECORE_EXPORT KoDocument : public KParts::ReadWritePart { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQCString dcopObjectId READ dcopObjectId) TQ_PROPERTY( bool backupFile READ backupFile WRITE setBackupFile ) diff --git a/lib/kofficecore/KoDocumentChild.h b/lib/kofficecore/KoDocumentChild.h index 50029cee..6dfebd21 100644 --- a/lib/kofficecore/KoDocumentChild.h +++ b/lib/kofficecore/KoDocumentChild.h @@ -43,7 +43,7 @@ class KoXmlWriter; class KOFFICECORE_EXPORT KoDocumentChild : public KoChild { Q_OBJECT - TQ_OBJECT + public: KoDocumentChild( KoDocument* parent, KoDocument* doc, const TQRect& geometry ); diff --git a/lib/kofficecore/KoDocumentInfo.h b/lib/kofficecore/KoDocumentInfo.h index 454763ac..4ecd2cef 100644 --- a/lib/kofficecore/KoDocumentInfo.h +++ b/lib/kofficecore/KoDocumentInfo.h @@ -39,7 +39,7 @@ class KoXmlWriter; class KOFFICECORE_EXPORT KoDocumentInfo : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoDocumentInfo( TQObject* parent = 0, const char* name = 0 ); virtual ~KoDocumentInfo(); @@ -78,7 +78,7 @@ public: class KOFFICECORE_EXPORT KoDocumentInfoAuthor : public KoDocumentInfoPage { Q_OBJECT - TQ_OBJECT + public: KoDocumentInfoAuthor( KoDocumentInfo* info ); ~KoDocumentInfoAuthor(); @@ -137,7 +137,7 @@ private: class KOFFICECORE_EXPORT KoDocumentInfoAbout : public KoDocumentInfoPage { Q_OBJECT - TQ_OBJECT + public: KoDocumentInfoAbout( KoDocumentInfo* info ); @@ -181,7 +181,7 @@ private: class KOFFICECORE_EXPORT KoDocumentInfoUserMetadata : public KoDocumentInfoPage { Q_OBJECT - TQ_OBJECT + public: KoDocumentInfoUserMetadata( KoDocumentInfo* info ); diff --git a/lib/kofficecore/KoDocumentInfoDlg.h b/lib/kofficecore/KoDocumentInfoDlg.h index 8589b6a0..a636c7dd 100644 --- a/lib/kofficecore/KoDocumentInfoDlg.h +++ b/lib/kofficecore/KoDocumentInfoDlg.h @@ -35,7 +35,7 @@ class KArchiveEntry; class KOFFICECORE_EXPORT KoDocumentInfoDlg : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoDocumentInfoDlg( KoDocumentInfo *docInfo, TQWidget *parent = 0, const char *name = 0, KDialogBase *dialog = 0 ); @@ -70,7 +70,7 @@ private: class KOFFICECORE_EXPORT KoDocumentInfoPropsPage : public KPropsDlgPlugin { Q_OBJECT - TQ_OBJECT + public: KoDocumentInfoPropsPage( KPropertiesDialog *props, const char *name = 0, const TQStringList & = TQStringList() ); diff --git a/lib/kofficecore/KoDocument_p.h b/lib/kofficecore/KoDocument_p.h index 5ad03317..e3ab46cf 100644 --- a/lib/kofficecore/KoDocument_p.h +++ b/lib/kofficecore/KoDocument_p.h @@ -30,7 +30,7 @@ class KoDocument; class KoBrowserExtension : public KParts::BrowserExtension { Q_OBJECT - TQ_OBJECT + public: KoBrowserExtension( KoDocument * doc, const char * name = 0 ); diff --git a/lib/kofficecore/KoFactory.h b/lib/kofficecore/KoFactory.h index 7a8a5a87..9435a79e 100644 --- a/lib/kofficecore/KoFactory.h +++ b/lib/kofficecore/KoFactory.h @@ -27,7 +27,7 @@ class KInstance; class KOFFICECORE_EXPORT KoFactory : public KParts::Factory { Q_OBJECT - TQ_OBJECT + public: KoFactory( TQObject *parent = 0, const char *name = 0 ); virtual ~KoFactory(); diff --git a/lib/kofficecore/KoFileDialog.h b/lib/kofficecore/KoFileDialog.h index 7c702cac..f419320c 100644 --- a/lib/kofficecore/KoFileDialog.h +++ b/lib/kofficecore/KoFileDialog.h @@ -35,7 +35,7 @@ class KoFileDialog : public KFileDialog { Q_OBJECT - TQ_OBJECT + public: KoFileDialog( const TQString& startDir, const TQString& filter, TQWidget *parent, const char *name, diff --git a/lib/kofficecore/KoFilter.h b/lib/kofficecore/KoFilter.h index cafad774..c4560280 100644 --- a/lib/kofficecore/KoFilter.h +++ b/lib/kofficecore/KoFilter.h @@ -32,7 +32,7 @@ class KoFilterChain; * * Derive your filter class from this base class and implement * the @ref convert() method. Don't forget to specify the Q_OBJECT - TQ_OBJECT + * macro in your class even if you don't use signals or slots. * This is needed as filters are created on the fly. * The m_chain member allows access to the @ref KoFilterChain @@ -49,7 +49,7 @@ class KoFilterChain; class KOFFICECORE_EXPORT KoFilter : public TQObject { Q_OBJECT - TQ_OBJECT + friend class KoFilterEntry; // needed for the filter chain pointer :( friend class KoFilterChain; @@ -147,7 +147,7 @@ private: class KOFFICECORE_EXPORT KoEmbeddingFilter : public KoFilter { Q_OBJECT - TQ_OBJECT + friend class KoFilterChain; diff --git a/lib/kofficecore/KoFilterManager.h b/lib/kofficecore/KoFilterManager.h index 11158012..9c9dcaa8 100644 --- a/lib/kofficecore/KoFilterManager.h +++ b/lib/kofficecore/KoFilterManager.h @@ -44,7 +44,7 @@ class KoDocument; class KOFFICECORE_EXPORT KoFilterManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * This enum is used to distinguish the import/export cases diff --git a/lib/kofficecore/KoFilterManager_p.h b/lib/kofficecore/KoFilterManager_p.h index 0e8a0762..bdee8777 100644 --- a/lib/kofficecore/KoFilterManager_p.h +++ b/lib/kofficecore/KoFilterManager_p.h @@ -30,7 +30,7 @@ class KListBox; class KoFilterChooser : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoFilterChooser (TQWidget *parent, const TQStringList &mimeTypes, diff --git a/lib/kofficecore/KoFrame.h b/lib/kofficecore/KoFrame.h index 77b3d1c3..484f6a45 100644 --- a/lib/kofficecore/KoFrame.h +++ b/lib/kofficecore/KoFrame.h @@ -28,7 +28,7 @@ class KoFramePrivate; class KoFrame : public TQWidget { Q_OBJECT - TQ_OBJECT + public: enum State { Inactive, Selected, Active }; diff --git a/lib/kofficecore/KoMainWindow.h b/lib/kofficecore/KoMainWindow.h index 8913e1a8..433c93d4 100644 --- a/lib/kofficecore/KoMainWindow.h +++ b/lib/kofficecore/KoMainWindow.h @@ -51,7 +51,7 @@ namespace KParts class KOFFICECORE_EXPORT KoMainWindow : public KParts::MainWindow { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficecore/KoOpenPane.h b/lib/kofficecore/KoOpenPane.h index 2d450cda..ad6a8db5 100644 --- a/lib/kofficecore/KoOpenPane.h +++ b/lib/kofficecore/KoOpenPane.h @@ -36,7 +36,7 @@ class KoDetailsPaneBase; class KoOpenPane : public KoOpenPaneBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficecore/KoSpeaker.h b/lib/kofficecore/KoSpeaker.h index b853bdec..c5acda32 100644 --- a/lib/kofficecore/KoSpeaker.h +++ b/lib/kofficecore/KoSpeaker.h @@ -63,7 +63,7 @@ class KoSpeakerPrivate; class KOFFICECORE_EXPORT KoSpeaker : public TQObject, public KShared { Q_OBJECT - TQ_OBJECT + public: KoSpeaker(); ~KoSpeaker(); diff --git a/lib/kofficecore/KoView.h b/lib/kofficecore/KoView.h index 93eb8971..db8e1fc6 100644 --- a/lib/kofficecore/KoView.h +++ b/lib/kofficecore/KoView.h @@ -57,7 +57,7 @@ namespace KParts class KOFFICECORE_EXPORT KoView : public TQWidget, public KParts::PartBase { Q_OBJECT - TQ_OBJECT + public: /** * Creates a new view for the document. Usually you don't create views yourself @@ -473,7 +473,7 @@ private: class KoViewChild : public KoChild { Q_OBJECT - TQ_OBJECT + public: KoViewChild( KoDocumentChild *child, KoView *_parentView ); virtual ~KoViewChild(); diff --git a/lib/kofficecore/Koversiondialog.h b/lib/kofficecore/Koversiondialog.h index 547e518a..0827b929 100644 --- a/lib/kofficecore/Koversiondialog.h +++ b/lib/kofficecore/Koversiondialog.h @@ -30,7 +30,7 @@ class TQMultiLineEdit; class KoVersionDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoVersionDialog( TQWidget* parent, const char* name = 0L ); ~KoVersionDialog(); @@ -57,7 +57,7 @@ protected: class KoVersionModifyDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoVersionModifyDialog( TQWidget* parent, const TQString &_comment = TQString() , const char* name = 0L ); diff --git a/lib/kofficeui/KoCharSelectDia.h b/lib/kofficeui/KoCharSelectDia.h index b281cd12..a8d0b91c 100644 --- a/lib/kofficeui/KoCharSelectDia.h +++ b/lib/kofficeui/KoCharSelectDia.h @@ -36,7 +36,7 @@ class KButtonBox; class KOFFICEUI_EXPORT KoCharSelectDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kofficeui/KoCommandHistory.h b/lib/kofficeui/KoCommandHistory.h index 89b83744..554b4b19 100644 --- a/lib/kofficeui/KoCommandHistory.h +++ b/lib/kofficeui/KoCommandHistory.h @@ -34,7 +34,7 @@ class KCommand; class KoListBox : public TQListBox { Q_OBJECT - TQ_OBJECT + public: KoListBox( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); protected: @@ -58,7 +58,7 @@ signals: */ class KOFFICEUI_EXPORT KoCommandHistory : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * Creates a command history, to store commands. diff --git a/lib/kofficeui/KoContextCelp.h b/lib/kofficeui/KoContextCelp.h index 889e006d..9e466677 100644 --- a/lib/kofficeui/KoContextCelp.h +++ b/lib/kofficeui/KoContextCelp.h @@ -33,7 +33,7 @@ class TQSimpleRichText; class KoVerticalLabel : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoVerticalLabel( TQWidget* parent = 0, const char* name = 0 ); @@ -52,7 +52,7 @@ class KoVerticalLabel : public TQWidget class KoHelpNavButton : public TQWidget { Q_OBJECT - TQ_OBJECT + public: enum NavDirection { @@ -79,7 +79,7 @@ class KoHelpNavButton : public TQWidget class KoTinyButton : public TQWidget { Q_OBJECT - TQ_OBJECT + public: enum Action { @@ -108,7 +108,7 @@ class KoTinyButton : public TQWidget class KoHelpView : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoHelpView( TQWidget* parent ); @@ -134,7 +134,7 @@ class KoHelpView : public TQWidget class KoHelpWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoHelpWidget( TQString help, TQWidget* parent ); @@ -171,7 +171,7 @@ class KoHelpWidget : public TQWidget class KoContextHelpPopup : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoContextHelpPopup( TQWidget* parent = 0 ); @@ -217,7 +217,7 @@ class KoContextHelpPopup : public TQWidget class KOFFICEUI_EXPORT KoContextHelpAction : public KToggleAction { Q_OBJECT - TQ_OBJECT + public: KoContextHelpAction( KActionCollection* parentCollection, TQWidget* parent = 0 ); @@ -240,7 +240,7 @@ class KOFFICEUI_EXPORT KoContextHelpAction : public KToggleAction class KoContextHelpWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoContextHelpWidget( TQWidget* parent = 0, const char* name = 0 ); @@ -264,7 +264,7 @@ class KoContextHelpWidget : public TQWidget class KoContextHelpDocker : public TQDockWindow { Q_OBJECT - TQ_OBJECT + public: KoContextHelpDocker( TQWidget* parent = 0, const char* name = 0 ); diff --git a/lib/kofficeui/KoEditPath.h b/lib/kofficeui/KoEditPath.h index 2b45009c..2b971ff6 100644 --- a/lib/kofficeui/KoEditPath.h +++ b/lib/kofficeui/KoEditPath.h @@ -30,7 +30,7 @@ class TQCheckBox; class KOFFICEUI_EXPORT KoEditPathDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoEditPathDia( const TQString & _path, TQWidget *parent, const char *name ); TQString newPath()const; @@ -43,7 +43,7 @@ private: class KOFFICEUI_EXPORT KoChangePathDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoChangePathDia( const TQString & _path, TQWidget *parent, const char *name ); TQString newPath()const; diff --git a/lib/kofficeui/KoGuideLineDia.h b/lib/kofficeui/KoGuideLineDia.h index 0f2fcecf..9e472272 100644 --- a/lib/kofficeui/KoGuideLineDia.h +++ b/lib/kofficeui/KoGuideLineDia.h @@ -37,7 +37,7 @@ class TQRadioButton; class KoGuideLineDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** * @brief Constructor diff --git a/lib/kofficeui/KoGuides.h b/lib/kofficeui/KoGuides.h index c1f66138..c5e8ffda 100644 --- a/lib/kofficeui/KoGuides.h +++ b/lib/kofficeui/KoGuides.h @@ -36,7 +36,7 @@ class KoZoomHandler; class KOFFICEUI_EXPORT KoGuides : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * @brief Constructor diff --git a/lib/kofficeui/KoInsertLink.h b/lib/kofficeui/KoInsertLink.h index d71263aa..ccade61b 100644 --- a/lib/kofficeui/KoInsertLink.h +++ b/lib/kofficeui/KoInsertLink.h @@ -32,7 +32,7 @@ namespace KOfficePrivate { class internetLinkPage : public TQWidget { Q_OBJECT - TQ_OBJECT + public: internetLinkPage( TQWidget *parent = 0, char *name = 0 ); TQString linkName()const; @@ -54,7 +54,7 @@ signals: class bookmarkLinkPage : public TQWidget { Q_OBJECT - TQ_OBJECT + public: bookmarkLinkPage( TQWidget *parent = 0, char *name = 0 ); TQString linkName()const; @@ -78,7 +78,7 @@ signals: class mailLinkPage : public TQWidget { Q_OBJECT - TQ_OBJECT + public: mailLinkPage( TQWidget *parent = 0, char *name = 0 ); TQString linkName()const; @@ -101,7 +101,7 @@ signals: class fileLinkPage : public TQWidget { Q_OBJECT - TQ_OBJECT + public: fileLinkPage( TQWidget *parent = 0, char *name = 0 ); TQString linkName()const; @@ -127,7 +127,7 @@ signals: class KOFFICEUI_EXPORT KoInsertLinkDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoInsertLinkDia( TQWidget *parent, const char *name = 0,bool displayBookmarkLink=true ); static bool createLinkDia(TQString & linkName, TQString & hrefName, const TQStringList& bkmlist, bool displayBookmarkLink = true, diff --git a/lib/kofficeui/KoKoolBar.h b/lib/kofficeui/KoKoolBar.h index 445b5fee..4416610f 100644 --- a/lib/kofficeui/KoKoolBar.h +++ b/lib/kofficeui/KoKoolBar.h @@ -34,7 +34,7 @@ class KoKoolBarItem : public TQObject { private: Q_OBJECT - TQ_OBJECT + public: KoKoolBarItem( KoKoolBarGroup *_grp, const TQPixmap& _pix, const TQString& _text = TQString() ); @@ -67,7 +67,7 @@ protected: class KoKoolBarGroup : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoKoolBarGroup( KoKoolBar *_bar, const TQString& _text ); ~KoKoolBarGroup(); @@ -101,7 +101,7 @@ protected: class KoKoolBarBox : public TQFrame { Q_OBJECT - TQ_OBJECT + public: KoKoolBarBox( KoKoolBar *_bar ); @@ -140,7 +140,7 @@ protected: class KOFFICEUI_EXPORT KoKoolBar : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoKoolBar( TQWidget *_parent = 0L, const char *_name = 0L ); virtual ~KoKoolBar() { }; diff --git a/lib/kofficeui/KoPageLayoutColumns.h b/lib/kofficeui/KoPageLayoutColumns.h index b9dcd6c2..b4e0b35e 100644 --- a/lib/kofficeui/KoPageLayoutColumns.h +++ b/lib/kofficeui/KoPageLayoutColumns.h @@ -35,7 +35,7 @@ class KoPagePreview; */ class KoPageLayoutColumns : public KoPageLayoutColumnsBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficeui/KoPageLayoutDia.h b/lib/kofficeui/KoPageLayoutDia.h index 1ed23ec5..0c50b448 100644 --- a/lib/kofficeui/KoPageLayoutDia.h +++ b/lib/kofficeui/KoPageLayoutDia.h @@ -47,7 +47,7 @@ enum { FORMAT_AND_BORDERS = 1, HEADER_AND_FOOTER = 2, COLUMNS = 4, DISABLE_BORDE class KoPagePreview : public TQGroupBox { Q_OBJECT - TQ_OBJECT + public: @@ -83,7 +83,7 @@ class KoPageLayoutDiaPrivate; class KOFFICEUI_EXPORT KoPageLayoutDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kofficeui/KoPageLayoutHeader.h b/lib/kofficeui/KoPageLayoutHeader.h index 5473403b..213b021c 100644 --- a/lib/kofficeui/KoPageLayoutHeader.h +++ b/lib/kofficeui/KoPageLayoutHeader.h @@ -32,7 +32,7 @@ class KoPagePreview; */ class KoPageLayoutHeader : public KoPageLayoutHeaderBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficeui/KoPageLayoutSize.h b/lib/kofficeui/KoPageLayoutSize.h index 6d50e014..7de19ca3 100644 --- a/lib/kofficeui/KoPageLayoutSize.h +++ b/lib/kofficeui/KoPageLayoutSize.h @@ -36,7 +36,7 @@ class KoPageLayoutColumns; */ class KoPageLayoutSize : public TQWidget { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficeui/KoPartSelectAction.h b/lib/kofficeui/KoPartSelectAction.h index 9e9dd30f..2bfc119e 100644 --- a/lib/kofficeui/KoPartSelectAction.h +++ b/lib/kofficeui/KoPartSelectAction.h @@ -30,7 +30,7 @@ class KOFFICEUI_EXPORT KoPartSelectAction : public KActionMenu { Q_OBJECT - TQ_OBJECT + public: KoPartSelectAction( const TQString& text, TQObject* parent = 0, const char* name = 0 ); diff --git a/lib/kofficeui/KoPartSelectDia.h b/lib/kofficeui/KoPartSelectDia.h index 6a13084b..b6414e3a 100644 --- a/lib/kofficeui/KoPartSelectDia.h +++ b/lib/kofficeui/KoPartSelectDia.h @@ -36,7 +36,7 @@ class TQPushButton; class KOFFICEUI_EXPORT KoPartSelectDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kofficeui/KoPictureFilePreview.h b/lib/kofficeui/KoPictureFilePreview.h index 3922cd74..a9c9297e 100644 --- a/lib/kofficeui/KoPictureFilePreview.h +++ b/lib/kofficeui/KoPictureFilePreview.h @@ -33,7 +33,7 @@ class KoPictureFilePreviewWidget; class KOFFICEUI_EXPORT KoPictureFilePreview : public KPreviewWidgetBase { Q_OBJECT - TQ_OBJECT + public: KoPictureFilePreview( TQWidget *parent ); diff --git a/lib/kofficeui/KoRuler.h b/lib/kofficeui/KoRuler.h index 352e6820..8019b908 100644 --- a/lib/kofficeui/KoRuler.h +++ b/lib/kofficeui/KoRuler.h @@ -101,7 +101,7 @@ class KoRulerPrivate; class KOFFICEUI_EXPORT KoRuler : public TQFrame { Q_OBJECT - TQ_OBJECT + friend class KoRulerPrivate; // for the Action enum public: static const int F_TABS; diff --git a/lib/kofficeui/KoSelectAction.h b/lib/kofficeui/KoSelectAction.h index a6d3b006..4c0f65d3 100644 --- a/lib/kofficeui/KoSelectAction.h +++ b/lib/kofficeui/KoSelectAction.h @@ -31,7 +31,7 @@ class TQPoint; class KOFFICEUI_EXPORT KoSelectAction : public KAction { Q_OBJECT - TQ_OBJECT + public: /** Constructs a KoSelectAction with a text and an icon. * @param text The text that will be displayed. diff --git a/lib/kofficeui/KoTabBar.h b/lib/kofficeui/KoTabBar.h index 0c4233b4..5396924a 100644 --- a/lib/kofficeui/KoTabBar.h +++ b/lib/kofficeui/KoTabBar.h @@ -61,7 +61,7 @@ class KoTabBarPrivate; class KOFFICEUI_EXPORT KoTabBar : public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQString activeTab READ activeTab WRITE setActiveTab ) TQ_PROPERTY( bool readOnly READ readOnly WRITE setReadOnly ) diff --git a/lib/kofficeui/KoTabChooser.h b/lib/kofficeui/KoTabChooser.h index fb9a0591..a487959f 100644 --- a/lib/kofficeui/KoTabChooser.h +++ b/lib/kofficeui/KoTabChooser.h @@ -35,7 +35,7 @@ class KoTabChooserPrivate; class KOFFICEUI_EXPORT KoTabChooser : public TQFrame { Q_OBJECT - TQ_OBJECT + public: enum { TAB_LEFT = 1, diff --git a/lib/kofficeui/KoTemplateChooseDia.h b/lib/kofficeui/KoTemplateChooseDia.h index 9363477d..5bedde84 100644 --- a/lib/kofficeui/KoTemplateChooseDia.h +++ b/lib/kofficeui/KoTemplateChooseDia.h @@ -43,7 +43,7 @@ class TQGridLayout; class KoTCDIconCanvas : public KIconCanvas { Q_OBJECT - TQ_OBJECT + public: KoTCDIconCanvas( TQWidget *parent = 0, const char *name = 0L ) : KIconCanvas( parent, name ) {} @@ -94,7 +94,7 @@ class KoTCDIconViewItem : public KIconViewItem */ class KoTCDRecentFilesIconView : public KFileIconView { Q_OBJECT - TQ_OBJECT + public: KoTCDRecentFilesIconView( TQWidget* parent, const char* name ) : KFileIconView( parent, name ), toolTip(0) @@ -133,7 +133,7 @@ class KoTemplateChooseDiaPrivate; class KOFFICEUI_EXPORT KoTemplateChooseDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kofficeui/KoTemplateCreateDia.h b/lib/kofficeui/KoTemplateCreateDia.h index 821d2f27..e3e30322 100644 --- a/lib/kofficeui/KoTemplateCreateDia.h +++ b/lib/kofficeui/KoTemplateCreateDia.h @@ -42,7 +42,7 @@ class KoTemplateCreateDiaPrivate; class KOFFICEUI_EXPORT KoTemplateCreateDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoTemplateCreateDia( const TQCString &templateType, KInstance *instance, diff --git a/lib/kofficeui/KoToolBox.h b/lib/kofficeui/KoToolBox.h index 7b31d847..4b83f03c 100644 --- a/lib/kofficeui/KoToolBox.h +++ b/lib/kofficeui/KoToolBox.h @@ -45,7 +45,7 @@ class ToolArea; class KOFFICEUI_EXPORT KoToolBox : public KToolBar { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kofficeui/KoTooluButton.h b/lib/kofficeui/KoTooluButton.h index 804b270b..78d67cd5 100644 --- a/lib/kofficeui/KoTooluButton.h +++ b/lib/kofficeui/KoTooluButton.h @@ -29,7 +29,7 @@ class TQPopupMenu; class KoColorPanel : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoColorPanel( TQWidget* parent = 0, const char* name = 0 ); virtual ~KoColorPanel(); @@ -106,7 +106,7 @@ bool operator<( const KoColorPanel::Position& lhs, const KoColorPanel::Position& class KoColorPopupProxy : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoColorPopupProxy( const TQColor& defaultColor, KoColorPanel* recentColors, TQObject* parent, const char* name ); virtual ~KoColorPopupProxy() {} @@ -130,7 +130,7 @@ private: class KoToolButton : public KToolBarButton { Q_OBJECT - TQ_OBJECT + public: /** * Construct a button with an icon loaded by the button itself. diff --git a/lib/kofficeui/KoUnitWidgets.h b/lib/kofficeui/KoUnitWidgets.h index 80db554d..cd741f32 100644 --- a/lib/kofficeui/KoUnitWidgets.h +++ b/lib/kofficeui/KoUnitWidgets.h @@ -107,7 +107,7 @@ protected: class KOFFICEUI_EXPORT KoUnitDoubleSpinBox : public KDoubleSpinBox, public KoUnitDoubleBase { Q_OBJECT - TQ_OBJECT + public: KoUnitDoubleSpinBox( TQWidget *parent = 0L, const char *name = 0L ); // lower, upper, step and value are in pt @@ -158,7 +158,7 @@ private slots: class KOFFICEUI_EXPORT KoUnitDoubleLineEdit : public KLineEdit, public KoUnitDoubleBase { Q_OBJECT - TQ_OBJECT + public: KoUnitDoubleLineEdit( TQWidget *parent = 0L, const char *name = 0L ); KoUnitDoubleLineEdit( TQWidget *parent, double lower, double upper, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 ); @@ -187,7 +187,7 @@ private: class KOFFICEUI_EXPORT KoUnitDoubleComboBox : public KComboBox, public KoUnitDoubleBase { Q_OBJECT - TQ_OBJECT + public: KoUnitDoubleComboBox( TQWidget *parent = 0L, const char *name = 0L ); KoUnitDoubleComboBox( TQWidget *parent, double lower, double upper, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 ); @@ -224,7 +224,7 @@ protected: class KOFFICEUI_EXPORT KoUnitDoubleSpinComboBox : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoUnitDoubleSpinComboBox( TQWidget *parent = 0L, const char *name = 0L ); KoUnitDoubleSpinComboBox( TQWidget *parent, double lower, double upper, double step, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 ); diff --git a/lib/kofficeui/KoZoomAction.h b/lib/kofficeui/KoZoomAction.h index 932c409a..118c7a13 100644 --- a/lib/kofficeui/KoZoomAction.h +++ b/lib/kofficeui/KoZoomAction.h @@ -31,7 +31,7 @@ class KOFFICEUI_EXPORT KoZoomAction : public KSelectAction { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kofficeui/Kolinestyleaction.h b/lib/kofficeui/Kolinestyleaction.h index 63be979c..d0eb4ef0 100644 --- a/lib/kofficeui/Kolinestyleaction.h +++ b/lib/kofficeui/Kolinestyleaction.h @@ -26,7 +26,7 @@ class KOFFICEUI_EXPORT KoLineStyleAction : public KoSelectAction { Q_OBJECT - TQ_OBJECT + public: /** Constructs a KoLineStyleAction with a text and an icon. * @param text The text that will be displayed. diff --git a/lib/kofficeui/Kolinewidthaction.h b/lib/kofficeui/Kolinewidthaction.h index a2b1dfe4..fe1ed705 100644 --- a/lib/kofficeui/Kolinewidthaction.h +++ b/lib/kofficeui/Kolinewidthaction.h @@ -30,7 +30,7 @@ class KOFFICEUI_EXPORT KoLineWidthAction : public KoSelectAction { Q_OBJECT - TQ_OBJECT + public: /** Constructs a KoLineWidthAction with a text and an icon. * @param text The text that will be displayed. @@ -88,7 +88,7 @@ class KOFFICEUI_EXPORT KoLineWidthAction : public KoSelectAction class KoLineWidthChooser : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoLineWidthChooser(TQWidget* parent = 0, const char* name = 0); ~KoLineWidthChooser(); diff --git a/lib/kofficeui/kcoloractions.h b/lib/kofficeui/kcoloractions.h index 8f2c713b..3ca03c62 100644 --- a/lib/kofficeui/kcoloractions.h +++ b/lib/kofficeui/kcoloractions.h @@ -29,7 +29,7 @@ class KColorAction : public KAction { Q_OBJECT - TQ_OBJECT + public: enum Type { @@ -68,7 +68,7 @@ private: class KSelectColorAction : public KAction { Q_OBJECT - TQ_OBJECT + public: enum Type { TextColor, diff --git a/lib/kofficeui/tests/coloraction_test.h b/lib/kofficeui/tests/coloraction_test.h index d0847493..f2d1618e 100644 --- a/lib/kofficeui/tests/coloraction_test.h +++ b/lib/kofficeui/tests/coloraction_test.h @@ -28,7 +28,7 @@ class KoColorPanel; class TopLevel : public TQMainWindow { Q_OBJECT - TQ_OBJECT + public: TopLevel( TQWidget* parent = 0, const char* name = 0 ); diff --git a/lib/kofficeui/tkaction.h b/lib/kofficeui/tkaction.h index b9a84a41..da38f38d 100644 --- a/lib/kofficeui/tkaction.h +++ b/lib/kofficeui/tkaction.h @@ -32,7 +32,7 @@ class TKComboBox; class KOFFICEUI_EXPORT TKAction : public KAction { Q_OBJECT - TQ_OBJECT + public: TKAction(TQObject* parent, const char* name); ~TKAction(); @@ -61,7 +61,7 @@ private: /******************************************************************************/ class KOFFICEUI_EXPORT TKBaseSelectAction : public TKAction { Q_OBJECT - TQ_OBJECT + friend class TKSelectAction; public: TKBaseSelectAction(TQObject* parent, const char* name); @@ -96,7 +96,7 @@ private: /******************************************************************************/ class KOFFICEUI_EXPORT TKSelectAction : public TKBaseSelectAction { Q_OBJECT - TQ_OBJECT + public: TKSelectAction(TQObject* parent, const char* name); ~TKSelectAction(); diff --git a/lib/kofficeui/tkcoloractions.h b/lib/kofficeui/tkcoloractions.h index b478e2dd..5ef5d3f4 100644 --- a/lib/kofficeui/tkcoloractions.h +++ b/lib/kofficeui/tkcoloractions.h @@ -32,7 +32,7 @@ class TKSelectColorActionPrivate; class TKColorPopupMenu : public KPopupMenu { Q_OBJECT - TQ_OBJECT + public: TKColorPopupMenu( TQWidget* parent = 0, const char* name = 0 ); ~TKColorPopupMenu(); @@ -43,7 +43,7 @@ public slots: /****************************************************************************************/ class KOFFICEUI_EXPORT TKSelectColorAction : public TKAction { Q_OBJECT - TQ_OBJECT + public: enum Type { TextColor, @@ -100,7 +100,7 @@ private: /****************************************************************************************/ class TKColorPanelButton : public TQFrame { Q_OBJECT - TQ_OBJECT + public: TKColorPanelButton( const TQColor&, TQWidget* parent, const char* name = 0 ); ~TKColorPanelButton(); @@ -128,7 +128,7 @@ private: /****************************************************************************************/ class TKColorPanel : public TQWidget { Q_OBJECT - TQ_OBJECT + public: TKColorPanel( TQWidget* parent = 0L, const char* name = 0 ); diff --git a/lib/kofficeui/tkcombobox.h b/lib/kofficeui/tkcombobox.h index 066e9b93..63e52f55 100644 --- a/lib/kofficeui/tkcombobox.h +++ b/lib/kofficeui/tkcombobox.h @@ -23,7 +23,7 @@ #include <tqcombobox.h> class TKComboBox : public TQComboBox { Q_OBJECT - TQ_OBJECT + public: TKComboBox(TQWidget* parent=0, const char* name=0); TKComboBox(bool isEditable, TQWidget* parent=0, const char* name=0); diff --git a/lib/kofficeui/tktoolbarbutton.h b/lib/kofficeui/tktoolbarbutton.h index 883d7811..17fc3758 100644 --- a/lib/kofficeui/tktoolbarbutton.h +++ b/lib/kofficeui/tktoolbarbutton.h @@ -33,7 +33,7 @@ class TQPainter; class TKToolBarButton : public TQToolButton { Q_OBJECT - TQ_OBJECT + public: TKToolBarButton(const TQString& icon, const TQString& txt, TQWidget* parent = 0, const char *name=0L, diff --git a/lib/kopainter/koColorChooser.h b/lib/kopainter/koColorChooser.h index 4f948496..f1b259bc 100644 --- a/lib/kopainter/koColorChooser.h +++ b/lib/kopainter/koColorChooser.h @@ -43,7 +43,7 @@ class ColorWidget; class KoColorChooser : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoColorChooser(TQWidget *parent = 0L, const char *name = 0L); @@ -83,7 +83,7 @@ private: class ColorWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: ColorWidget(TQWidget *parent = 0); @@ -101,7 +101,7 @@ protected: class RGBWidget : public ColorWidget { Q_OBJECT - TQ_OBJECT + public: RGBWidget(TQWidget *parent = 0L); virtual ~RGBWidget() {} @@ -139,7 +139,7 @@ private: class HSVWidget : public ColorWidget { Q_OBJECT - TQ_OBJECT + public: HSVWidget(TQWidget *parent = 0L); virtual ~HSVWidget() {} @@ -177,7 +177,7 @@ private: class GreyWidget : public ColorWidget { Q_OBJECT - TQ_OBJECT + public: GreyWidget(TQWidget *parent = 0L); virtual ~GreyWidget() {} @@ -203,7 +203,7 @@ protected: class LABWidget : public ColorWidget { Q_OBJECT - TQ_OBJECT + public: LABWidget(TQWidget *parent = 0L); virtual ~LABWidget() {} diff --git a/lib/kopainter/koColorSlider.h b/lib/kopainter/koColorSlider.h index afd7f7a9..05a715a4 100644 --- a/lib/kopainter/koColorSlider.h +++ b/lib/kopainter/koColorSlider.h @@ -31,7 +31,7 @@ class SliderWidget; class KOPAINTER_EXPORT KoColorFrame : public TQFrame { Q_OBJECT - TQ_OBJECT + public: KoColorFrame(TQWidget *parent = 0L); @@ -64,7 +64,7 @@ protected: class KOPAINTER_EXPORT KoSliderWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoSliderWidget(TQWidget *parent = 0L); @@ -85,7 +85,7 @@ protected: class KOPAINTER_EXPORT KoColorSlider : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoColorSlider(TQWidget *parent = 0L); virtual ~KoColorSlider(); diff --git a/lib/kopainter/koFrameButton.h b/lib/kopainter/koFrameButton.h index 41f33837..67be4340 100644 --- a/lib/kopainter/koFrameButton.h +++ b/lib/kopainter/koFrameButton.h @@ -29,7 +29,7 @@ class TQString; class KoFrameButton : public TQLabel { Q_OBJECT - TQ_OBJECT + public: KoFrameButton(TQWidget *parent = 0, const char *name = 0); KoFrameButton(const TQString &text, TQWidget *parent = 0, const char *name = 0); diff --git a/lib/kopainter/koIconChooser.h b/lib/kopainter/koIconChooser.h index 84c15e13..ed81dc02 100644 --- a/lib/kopainter/koIconChooser.h +++ b/lib/kopainter/koIconChooser.h @@ -62,7 +62,7 @@ private: class KOPAINTER_EXPORT KoIconChooser: public TQGridView { Q_OBJECT - TQ_OBJECT + public: // To make the items sorted, set 'sort' to true and override KoIconItem::compare(). KoIconChooser(TQSize iconSize, TQWidget *parent = 0L, const char *name = 0L, bool sort = false); @@ -124,7 +124,7 @@ private: class KOPAINTER_EXPORT KoPatternChooser : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoPatternChooser( const TQPtrList<KoIconItem> &list, TQWidget *parent, const char *name = 0 ); ~KoPatternChooser(); diff --git a/lib/kopainter/ko_cmyk_widget.h b/lib/kopainter/ko_cmyk_widget.h index bf4ca658..4e1e4c89 100644 --- a/lib/kopainter/ko_cmyk_widget.h +++ b/lib/kopainter/ko_cmyk_widget.h @@ -44,7 +44,7 @@ class KoCMYKWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + typedef TQWidget super; public: diff --git a/lib/kopainter/ko_color_wheel.h b/lib/kopainter/ko_color_wheel.h index 861440b2..6e20da02 100644 --- a/lib/kopainter/ko_color_wheel.h +++ b/lib/kopainter/ko_color_wheel.h @@ -29,7 +29,7 @@ class TQPainter; class KoColorWheel : public KXYSelector { Q_OBJECT - TQ_OBJECT + public: KoColorWheel( TQWidget *parent=0, const char *name=0 ); diff --git a/lib/kopainter/ko_gray_widget.h b/lib/kopainter/ko_gray_widget.h index 2c008c84..c2b49adf 100644 --- a/lib/kopainter/ko_gray_widget.h +++ b/lib/kopainter/ko_gray_widget.h @@ -36,7 +36,7 @@ class KoGrayWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + typedef TQWidget super; public: diff --git a/lib/kopainter/ko_hsv_widget.h b/lib/kopainter/ko_hsv_widget.h index c9652fc9..228475d0 100644 --- a/lib/kopainter/ko_hsv_widget.h +++ b/lib/kopainter/ko_hsv_widget.h @@ -39,7 +39,7 @@ class KoHSVWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + typedef TQWidget super; public: diff --git a/lib/kopainter/ko_rgb_widget.h b/lib/kopainter/ko_rgb_widget.h index b9779513..827322f5 100644 --- a/lib/kopainter/ko_rgb_widget.h +++ b/lib/kopainter/ko_rgb_widget.h @@ -38,7 +38,7 @@ class KoRGBWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + typedef TQWidget super; public: diff --git a/lib/kopalette/kopalette.h b/lib/kopalette/kopalette.h index 48d9cb3c..7c592c9c 100644 --- a/lib/kopalette/kopalette.h +++ b/lib/kopalette/kopalette.h @@ -39,7 +39,7 @@ class KOPALETTE_EXPORT KoPalette : public TQDockWindow { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kopalette/kopalettemanager.h b/lib/kopalette/kopalettemanager.h index dd8f1686..333a3cb6 100644 --- a/lib/kopalette/kopalettemanager.h +++ b/lib/kopalette/kopalettemanager.h @@ -85,7 +85,7 @@ namespace { class KOPALETTE_EXPORT KoPaletteManager : public TQObject { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kopalette/kotabpalette.h b/lib/kopalette/kotabpalette.h index a33d58a2..31b46683 100644 --- a/lib/kopalette/kotabpalette.h +++ b/lib/kopalette/kotabpalette.h @@ -37,7 +37,7 @@ class TQWidget; class KoTabPalette : public KoPalette { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/kopalette/kotoolboxpalette.h b/lib/kopalette/kotoolboxpalette.h index 1d15ef62..cbc119ba 100644 --- a/lib/kopalette/kotoolboxpalette.h +++ b/lib/kopalette/kotoolboxpalette.h @@ -30,7 +30,7 @@ class KoToolBoxPalette : public KoPalette { Q_OBJECT - TQ_OBJECT + public: diff --git a/lib/koproperty/editor.h b/lib/koproperty/editor.h index 05725529..7f8d41fa 100644 --- a/lib/koproperty/editor.h +++ b/lib/koproperty/editor.h @@ -63,7 +63,7 @@ class EditorItem; class KOPROPERTY_EXPORT Editor : public KListView { Q_OBJECT - TQ_OBJECT + public: /*! Creates an empty Editor with \a parent as parent widget. diff --git a/lib/koproperty/editors/booledit.h b/lib/koproperty/editors/booledit.h index f93e4daa..edd3c637 100644 --- a/lib/koproperty/editors/booledit.h +++ b/lib/koproperty/editors/booledit.h @@ -33,7 +33,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT BoolEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: BoolEdit(Property *property, TQWidget *parent=0, const char *name=0); @@ -60,7 +60,7 @@ class KOPROPERTY_EXPORT BoolEdit : public Widget class KOPROPERTY_EXPORT ThreeStateBoolEdit : public ComboBox { Q_OBJECT - TQ_OBJECT + public: ThreeStateBoolEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/coloredit.h b/lib/koproperty/editors/coloredit.h index 000e6e82..2dd74707 100644 --- a/lib/koproperty/editors/coloredit.h +++ b/lib/koproperty/editors/coloredit.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT ColorButton : public Widget { Q_OBJECT - TQ_OBJECT + public: ColorButton(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/combobox.h b/lib/koproperty/editors/combobox.h index 709d07d6..9bb7a745 100644 --- a/lib/koproperty/editors/combobox.h +++ b/lib/koproperty/editors/combobox.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT ComboBox : public Widget { Q_OBJECT - TQ_OBJECT + public: ComboBox(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/cursoredit.h b/lib/koproperty/editors/cursoredit.h index c6c76e0e..ff3c565c 100644 --- a/lib/koproperty/editors/cursoredit.h +++ b/lib/koproperty/editors/cursoredit.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT CursorEdit : public ComboBox { Q_OBJECT - TQ_OBJECT + public: CursorEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/dateedit.h b/lib/koproperty/editors/dateedit.h index dde21f0c..58d679ae 100644 --- a/lib/koproperty/editors/dateedit.h +++ b/lib/koproperty/editors/dateedit.h @@ -31,7 +31,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT DateEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: DateEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/datetimeedit.h b/lib/koproperty/editors/datetimeedit.h index 1ee321b9..d27b1c07 100644 --- a/lib/koproperty/editors/datetimeedit.h +++ b/lib/koproperty/editors/datetimeedit.h @@ -31,7 +31,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT DateTimeEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: DateTimeEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/dummywidget.h b/lib/koproperty/editors/dummywidget.h index b06c571a..61edac60 100644 --- a/lib/koproperty/editors/dummywidget.h +++ b/lib/koproperty/editors/dummywidget.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT DummyWidget: public Widget { Q_OBJECT - TQ_OBJECT + public: DummyWidget(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/fontedit.h b/lib/koproperty/editors/fontedit.h index 091fafd0..96fa1617 100644 --- a/lib/koproperty/editors/fontedit.h +++ b/lib/koproperty/editors/fontedit.h @@ -31,7 +31,7 @@ class FontEditRequester; class KOPROPERTY_EXPORT FontEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: FontEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/linestyleedit.h b/lib/koproperty/editors/linestyleedit.h index d5d386b5..c288e33f 100644 --- a/lib/koproperty/editors/linestyleedit.h +++ b/lib/koproperty/editors/linestyleedit.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT LineStyleEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: LineStyleEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/pixmapedit.h b/lib/koproperty/editors/pixmapedit.h index 3b6a6cd5..c2a9d011 100644 --- a/lib/koproperty/editors/pixmapedit.h +++ b/lib/koproperty/editors/pixmapedit.h @@ -34,7 +34,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT PixmapEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: PixmapEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/pointedit.h b/lib/koproperty/editors/pointedit.h index ce7fc423..31623b46 100644 --- a/lib/koproperty/editors/pointedit.h +++ b/lib/koproperty/editors/pointedit.h @@ -32,7 +32,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT PointEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: PointEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/rectedit.h b/lib/koproperty/editors/rectedit.h index 5ab25408..42f3630d 100644 --- a/lib/koproperty/editors/rectedit.h +++ b/lib/koproperty/editors/rectedit.h @@ -32,7 +32,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT RectEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: RectEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/sizeedit.h b/lib/koproperty/editors/sizeedit.h index 87b1c2dd..4ae5bf64 100644 --- a/lib/koproperty/editors/sizeedit.h +++ b/lib/koproperty/editors/sizeedit.h @@ -32,7 +32,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT SizeEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: SizeEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/sizepolicyedit.h b/lib/koproperty/editors/sizepolicyedit.h index a33ef731..f5e81e75 100644 --- a/lib/koproperty/editors/sizepolicyedit.h +++ b/lib/koproperty/editors/sizepolicyedit.h @@ -34,7 +34,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT SizePolicyEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: SizePolicyEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/spinbox.h b/lib/koproperty/editors/spinbox.h index 668b7b2b..9c4a3fe2 100644 --- a/lib/koproperty/editors/spinbox.h +++ b/lib/koproperty/editors/spinbox.h @@ -35,7 +35,7 @@ class DoubleEdit; class IntSpinBox : public KIntSpinBox { Q_OBJECT - TQ_OBJECT + public: IntSpinBox(int lower, int upper, int step, int value, int base=10, @@ -51,7 +51,7 @@ class IntSpinBox : public KIntSpinBox class KOPROPERTY_EXPORT IntEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: IntEdit(Property *property, TQWidget *parent=0, const char *name=0); @@ -77,7 +77,7 @@ class KOPROPERTY_EXPORT IntEdit : public Widget class DoubleSpinBox : public KDoubleSpinBox { Q_OBJECT - TQ_OBJECT + public: //! \todo Support setting precision limits, step, etc. @@ -95,7 +95,7 @@ class DoubleSpinBox : public KDoubleSpinBox class KOPROPERTY_EXPORT DoubleEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: DoubleEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/stringedit.h b/lib/koproperty/editors/stringedit.h index 1e5e3c5c..cebe6a3e 100644 --- a/lib/koproperty/editors/stringedit.h +++ b/lib/koproperty/editors/stringedit.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT StringEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: StringEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/stringlistedit.h b/lib/koproperty/editors/stringlistedit.h index 994b186b..af9812f5 100644 --- a/lib/koproperty/editors/stringlistedit.h +++ b/lib/koproperty/editors/stringlistedit.h @@ -33,7 +33,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT StringListEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: StringListEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/symbolcombo.h b/lib/koproperty/editors/symbolcombo.h index 50ffcf96..99eb325c 100644 --- a/lib/koproperty/editors/symbolcombo.h +++ b/lib/koproperty/editors/symbolcombo.h @@ -31,7 +31,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT SymbolCombo : public Widget { Q_OBJECT - TQ_OBJECT + public: SymbolCombo(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/timeedit.h b/lib/koproperty/editors/timeedit.h index 642f4101..16b24686 100644 --- a/lib/koproperty/editors/timeedit.h +++ b/lib/koproperty/editors/timeedit.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT TimeEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: TimeEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/editors/urledit.h b/lib/koproperty/editors/urledit.h index bba72091..597d09df 100644 --- a/lib/koproperty/editors/urledit.h +++ b/lib/koproperty/editors/urledit.h @@ -30,7 +30,7 @@ namespace KoProperty { class KOPROPERTY_EXPORT URLEdit : public Widget { Q_OBJECT - TQ_OBJECT + public: URLEdit(Property *property, TQWidget *parent=0, const char *name=0); diff --git a/lib/koproperty/set.h b/lib/koproperty/set.h index efb90cd9..9e1dc3d2 100644 --- a/lib/koproperty/set.h +++ b/lib/koproperty/set.h @@ -40,7 +40,7 @@ class SetPrivate; class KOPROPERTY_EXPORT Set : public TQObject { Q_OBJECT - TQ_OBJECT + public: /*! \brief A class to iterate over a Set. @@ -234,7 +234,7 @@ class KOPROPERTY_EXPORT Set : public TQObject class KOPROPERTY_EXPORT Buffer : public Set { Q_OBJECT - TQ_OBJECT + public: Buffer(); diff --git a/lib/koproperty/test/test.h b/lib/koproperty/test/test.h index b0a278c8..8d9dedb2 100644 --- a/lib/koproperty/test/test.h +++ b/lib/koproperty/test/test.h @@ -36,7 +36,7 @@ class Test : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: Test(); virtual ~Test(); diff --git a/lib/koproperty/widget.h b/lib/koproperty/widget.h index 5ed85885..a93e59cb 100644 --- a/lib/koproperty/widget.h +++ b/lib/koproperty/widget.h @@ -36,7 +36,7 @@ class Property; class KOPROPERTY_EXPORT Widget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: Widget(Property *property, TQWidget *parent, const char *name="property_editor"); diff --git a/lib/koproperty/widgetproxy.h b/lib/koproperty/widgetproxy.h index f63cbdd1..6a52f67d 100644 --- a/lib/koproperty/widgetproxy.h +++ b/lib/koproperty/widgetproxy.h @@ -37,7 +37,7 @@ class WidgetProxyPrivate; class KOPROPERTY_EXPORT WidgetProxy : public TQWidget { Q_OBJECT - TQ_OBJECT + public: WidgetProxy(TQWidget *parent, const char *name=0); diff --git a/lib/kotext/DateFormatWidget.h b/lib/kotext/DateFormatWidget.h index df028180..2ad68658 100644 --- a/lib/kotext/DateFormatWidget.h +++ b/lib/kotext/DateFormatWidget.h @@ -5,7 +5,7 @@ class DateFormatWidget : public TimeDateFormatWidgetPrototype { Q_OBJECT - TQ_OBJECT + public: DateFormatWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/lib/kotext/KFontDialog_local.h b/lib/kotext/KFontDialog_local.h index 943ce724..3ed6ff08 100644 --- a/lib/kotext/KFontDialog_local.h +++ b/lib/kotext/KFontDialog_local.h @@ -57,7 +57,7 @@ class KIntNumInput; class KOTEXT_EXPORT KFontChooser_local : public TQWidget { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY( TQFont font READ font WRITE setFont ) public: @@ -350,7 +350,7 @@ private: */ class KOTEXT_EXPORT KFontDialog_local : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kotext/KoAutoFormat.h b/lib/kotext/KoAutoFormat.h index 2f61cb18..d122f7b7 100644 --- a/lib/kotext/KoAutoFormat.h +++ b/lib/kotext/KoAutoFormat.h @@ -49,7 +49,7 @@ class KoTextFormat; class KoCompletionBox : public TQLabel { Q_OBJECT - TQ_OBJECT + public: KoCompletionBox( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ); ~KoCompletionBox(); diff --git a/lib/kotext/KoAutoFormatDia.h b/lib/kotext/KoAutoFormatDia.h index 14084af5..354febf6 100644 --- a/lib/kotext/KoAutoFormatDia.h +++ b/lib/kotext/KoAutoFormatDia.h @@ -35,7 +35,7 @@ class TQComboBox; class KoAutoFormatLineEdit : public TQLineEdit { Q_OBJECT - TQ_OBJECT + public: KoAutoFormatLineEdit ( TQWidget * parent, const char * name=0 ); @@ -52,7 +52,7 @@ protected: class KoAutoFormatExceptionWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoAutoFormatExceptionWidget(TQWidget *_parent, const TQString &name,const TQStringList &_list, bool _autoInclude, bool _abbreviation=false); @@ -82,7 +82,7 @@ protected slots: class KOTEXT_EXPORT KoAutoFormatDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoAutoFormatDia( TQWidget *parent, const char *name, KoAutoFormat * autoFormat ); diff --git a/lib/kotext/KoBgSpellCheck.h b/lib/kotext/KoBgSpellCheck.h index 9d96d84b..0872dee0 100644 --- a/lib/kotext/KoBgSpellCheck.h +++ b/lib/kotext/KoBgSpellCheck.h @@ -32,7 +32,7 @@ class KoTextIterator; class KOTEXT_EXPORT KoBgSpellCheck : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoBgSpellCheck( const KSpell2::Broker::Ptr& broker, TQObject *parent =0, const char *name =0 ); diff --git a/lib/kotext/KoChangeCaseDia.h b/lib/kotext/KoChangeCaseDia.h index ace24d5a..53519c4f 100644 --- a/lib/kotext/KoChangeCaseDia.h +++ b/lib/kotext/KoChangeCaseDia.h @@ -29,7 +29,7 @@ class TQPushButton; class KOTEXT_EXPORT KoChangeCaseDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoChangeCaseDia( TQWidget *parent, const char *name ); enum TypeOfCase { UpperCase =0, LowerCase=1, TitleCase=2, ToggleCase=3, SentenceCase=4}; diff --git a/lib/kotext/KoCommentDia.h b/lib/kotext/KoCommentDia.h index 3f9465d6..206b549c 100644 --- a/lib/kotext/KoCommentDia.h +++ b/lib/kotext/KoCommentDia.h @@ -28,7 +28,7 @@ class TQMultiLineEdit; class KOTEXT_EXPORT KoCommentDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoCommentDia( TQWidget *parent, const TQString &_note=TQString(), const TQString & _authorName=TQString(), const TQString &_createNote=TQString(), const char *name=0L ); TQString commentText(); diff --git a/lib/kotext/KoCompletionDia.h b/lib/kotext/KoCompletionDia.h index 98927e0b..a6fb742f 100644 --- a/lib/kotext/KoCompletionDia.h +++ b/lib/kotext/KoCompletionDia.h @@ -28,7 +28,7 @@ */ class KoCompletion : public KoCompletionBase { Q_OBJECT - TQ_OBJECT + public: KoCompletion(TQWidget *parent, KoAutoFormat *autoFormat ); @@ -53,7 +53,7 @@ protected: */ class KOTEXT_EXPORT KoCompletionDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoCompletionDia( TQWidget *parent, const char *name, KoAutoFormat * autoFormat ); diff --git a/lib/kotext/KoCreateStyleDia.h b/lib/kotext/KoCreateStyleDia.h index ea94e9fa..2262091d 100644 --- a/lib/kotext/KoCreateStyleDia.h +++ b/lib/kotext/KoCreateStyleDia.h @@ -28,7 +28,7 @@ class TQLineEdit; class KOTEXT_EXPORT KoCreateStyleDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoCreateStyleDia( const TQStringList & _list, TQWidget *parent, const char *name ); TQString nameOfNewStyle()const; diff --git a/lib/kotext/KoCustomVariablesDia.h b/lib/kotext/KoCustomVariablesDia.h index e2116045..915d6081 100644 --- a/lib/kotext/KoCustomVariablesDia.h +++ b/lib/kotext/KoCustomVariablesDia.h @@ -42,7 +42,7 @@ class TQCloseEvent; class KoVariableNameDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: // For KWMailMergeVariableInsertDia @@ -93,7 +93,7 @@ protected: class KoCustomVariablesList : public KListView { Q_OBJECT - TQ_OBJECT + public: KoCustomVariablesList( TQWidget *parent ); @@ -117,7 +117,7 @@ private: class KOTEXT_EXPORT KoCustomVariablesDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoCustomVariablesDia( TQWidget *parent, const TQPtrList<KoVariable> &variables ); @@ -138,7 +138,7 @@ protected: class KOTEXT_EXPORT KoCustomVarDialog : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /** diff --git a/lib/kotext/KoDecorationTab.h b/lib/kotext/KoDecorationTab.h index 6b396a88..44b1b354 100644 --- a/lib/kotext/KoDecorationTab.h +++ b/lib/kotext/KoDecorationTab.h @@ -27,7 +27,7 @@ class KoDecorationTab : public KoDecorationTabBase { Q_OBJECT - TQ_OBJECT + public: KoDecorationTab( TQWidget* parent=0, const char* name=0, WFlags fl=0 ); diff --git a/lib/kotext/KoFontDia.h b/lib/kotext/KoFontDia.h index 7f739d19..556a2321 100644 --- a/lib/kotext/KoFontDia.h +++ b/lib/kotext/KoFontDia.h @@ -42,7 +42,7 @@ class TQComboBox; class KOTEXT_EXPORT KoFontDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /// If your application supports spell-checking, pass here the KSpell2 Broker diff --git a/lib/kotext/KoFontDiaPreview.h b/lib/kotext/KoFontDiaPreview.h index 48bd459e..f995e981 100644 --- a/lib/kotext/KoFontDiaPreview.h +++ b/lib/kotext/KoFontDiaPreview.h @@ -32,7 +32,7 @@ class KoFontDiaPreview : public TQFrame { Q_OBJECT - TQ_OBJECT + public: /** * Constructor diff --git a/lib/kotext/KoFontTab.h b/lib/kotext/KoFontTab.h index 5333e46a..5c7e65cf 100644 --- a/lib/kotext/KoFontTab.h +++ b/lib/kotext/KoFontTab.h @@ -26,7 +26,7 @@ class KoFontTab : public KoFontTabBase { Q_OBJECT - TQ_OBJECT + public: KoFontTab( uint fontListCriteria=0, TQWidget* parent=0, const char* name=0, WFlags fl=0 ); diff --git a/lib/kotext/KoHighlightingTab.h b/lib/kotext/KoHighlightingTab.h index d8ebc1d7..512aacf6 100644 --- a/lib/kotext/KoHighlightingTab.h +++ b/lib/kotext/KoHighlightingTab.h @@ -28,7 +28,7 @@ class KoHighlightingTab : public KoHighlightingTabBase { Q_OBJECT - TQ_OBJECT + public: KoHighlightingTab( TQWidget* parent=0, const char* name=0, WFlags fl=0 ); diff --git a/lib/kotext/KoImportStyleDia.h b/lib/kotext/KoImportStyleDia.h index ea2ccf91..a83e6407 100644 --- a/lib/kotext/KoImportStyleDia.h +++ b/lib/kotext/KoImportStyleDia.h @@ -30,7 +30,7 @@ class TQPushButton; class KOTEXT_EXPORT KoImportStyleDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: /// @param currentCollection collection of styles already present in the document /// (this is used to avoid conflicts in the style names and displayNames) diff --git a/lib/kotext/KoLanguageTab.h b/lib/kotext/KoLanguageTab.h index 76e4ddef..fbcbb5df 100644 --- a/lib/kotext/KoLanguageTab.h +++ b/lib/kotext/KoLanguageTab.h @@ -27,7 +27,7 @@ class KoLanguageTab : public KoLanguageTabBase { Q_OBJECT - TQ_OBJECT + public: KoLanguageTab( KSpell2::Broker::Ptr broker = 0, TQWidget* parent=0, const char* name=0, WFlags fl=0 ); diff --git a/lib/kotext/KoLayoutTab.h b/lib/kotext/KoLayoutTab.h index 6b629eef..9722888a 100644 --- a/lib/kotext/KoLayoutTab.h +++ b/lib/kotext/KoLayoutTab.h @@ -26,7 +26,7 @@ class KoLayoutTab : public KoLayoutTabBase { Q_OBJECT - TQ_OBJECT + public: KoLayoutTab( bool withSubSuperScript, TQWidget* parent=0, const char* name=0, WFlags fl=0 ); diff --git a/lib/kotext/KoParagDia.h b/lib/kotext/KoParagDia.h index 4fd8f784..18a992c1 100644 --- a/lib/kotext/KoParagDia.h +++ b/lib/kotext/KoParagDia.h @@ -72,7 +72,7 @@ class KoParagDecorationTab; // From KoParagDecorationTab.ui class KOTEXT_EXPORT KoParagLayoutWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: // Constructor: parent widget, flag (PD_SOMETHING) and name KoParagLayoutWidget( int flag, TQWidget * parent, const char * name = 0 ) @@ -108,7 +108,7 @@ private: class KOTEXT_EXPORT KoIndentSpacingWidget : public KoParagLayoutWidget { Q_OBJECT - TQ_OBJECT + public: KoIndentSpacingWidget( KoUnit::Unit unit, double _frameWidth, TQWidget * parent,const char * name = 0 ); virtual ~KoIndentSpacingWidget() {} @@ -152,7 +152,7 @@ private: class KOTEXT_EXPORT KoParagAlignWidget : public KoParagLayoutWidget { Q_OBJECT - TQ_OBJECT + public: KoParagAlignWidget(bool breakLine, TQWidget * parent, const char * name = 0 ); virtual ~KoParagAlignWidget() {} @@ -186,7 +186,7 @@ private: class KOTEXT_EXPORT KoParagDecorationWidget : public KoParagLayoutWidget { Q_OBJECT - TQ_OBJECT + public: KoParagDecorationWidget( TQWidget * parent, const char * name = 0 ); virtual ~KoParagDecorationWidget() {} @@ -263,7 +263,7 @@ private: class KOTEXT_EXPORT KoCounterStyleWidget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoCounterStyleWidget( bool displayDepth= true, bool onlyStyleTypeLetter = false, bool disableAll=false, TQWidget* parent = 0, const char* name = 0 ); @@ -345,7 +345,7 @@ private: class KOTEXT_EXPORT KoParagCounterWidget : public KoParagLayoutWidget { Q_OBJECT - TQ_OBJECT + public: KoParagCounterWidget( bool disableAll=false ,TQWidget * parent=0L, const char * name = 0 ); @@ -390,7 +390,7 @@ private: class KoTabulatorsLineEdit : public KoUnitDoubleSpinBox { Q_OBJECT - TQ_OBJECT + public: KoTabulatorsLineEdit( TQWidget *parent, double lower, double upper, double step, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 ); @@ -407,7 +407,7 @@ protected: class KOTEXT_EXPORT KoParagTabulatorsWidget : public KoParagLayoutWidget { Q_OBJECT - TQ_OBJECT + public: KoParagTabulatorsWidget( KoUnit::Unit unit, double _frameWidth, TQWidget * parent, const char * name = 0 ); virtual ~KoParagTabulatorsWidget() {} @@ -468,7 +468,7 @@ private: class KoStylePreview : public TQGroupBox { Q_OBJECT - TQ_OBJECT + public: KoStylePreview( const TQString &title, const TQString &text, TQWidget *parent, const char* name = 0 ); @@ -498,7 +498,7 @@ protected: class KOTEXT_EXPORT KoParagDia : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: enum { PD_SPACING = 1, PD_ALIGN = 2, PD_DECORATION = 4, PD_NUMBERING = 8, diff --git a/lib/kotext/KoParagDia_p.h b/lib/kotext/KoParagDia_p.h index 48f77ea1..1e1b42d3 100644 --- a/lib/kotext/KoParagDia_p.h +++ b/lib/kotext/KoParagDia_p.h @@ -36,7 +36,7 @@ class TQPainter; class KoSpinBox : public TQSpinBox { Q_OBJECT - TQ_OBJECT + public: enum counterType{ NONE,NUM,ALPHAB_L,ALPHAB_U,ROM_NUM_L,ROM_NUM_U}; @@ -59,7 +59,7 @@ public: class KPagePreview : public TQGroupBox { Q_OBJECT - TQ_OBJECT + public: KPagePreview( TQWidget*, const char* = 0L ); @@ -93,7 +93,7 @@ protected: class KPagePreview2 : public TQGroupBox { Q_OBJECT - TQ_OBJECT + public: KPagePreview2( TQWidget*, const char* = 0L ); @@ -116,7 +116,7 @@ protected: class KoBorderPreview : public TQFrame/*TQGroupBox*/ { Q_OBJECT - TQ_OBJECT + public: KoBorderPreview( TQWidget*, const char* = 0L ); diff --git a/lib/kotext/KoSearchDia.h b/lib/kotext/KoSearchDia.h index e833cbc9..40b4cb97 100644 --- a/lib/kotext/KoSearchDia.h +++ b/lib/kotext/KoSearchDia.h @@ -100,7 +100,7 @@ public: class KoSearchContextUI : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoSearchContextUI( KoSearchContext *ctx, TQWidget *parent ); void setCtxOptions( long options ); @@ -125,7 +125,7 @@ class KOTEXT_EXPORT KoSearchDia: public KFindDialog { Q_OBJECT - TQ_OBJECT + public: KoSearchDia( TQWidget *parent, const char *name, KoSearchContext *find, bool hasSelection, bool hasCursor ); @@ -148,7 +148,7 @@ class KOTEXT_EXPORT KoReplaceDia: public KReplaceDialog { Q_OBJECT - TQ_OBJECT + public: @@ -176,7 +176,7 @@ private: class KoTextFind : public KFind { Q_OBJECT - TQ_OBJECT + public: KoTextFind(const TQString &pattern, long options, KoFindReplace *_findReplace, TQWidget *parent = 0); ~KoTextFind(); @@ -191,7 +191,7 @@ private: class KoTextReplace : public KReplace { Q_OBJECT - TQ_OBJECT + public: KoTextReplace(const TQString &pattern, const TQString &replacement, long options, KoFindReplace *_findReplace, TQWidget *parent = 0); ~KoTextReplace(); @@ -207,7 +207,7 @@ private: class KOTEXT_EXPORT KoFindReplace : public TQObject { Q_OBJECT - TQ_OBJECT + public: KoFindReplace( TQWidget * parent, KoSearchDia * dialog, const TQValueList<KoTextObject *> & lstObject, KoTextView* textView ); KoFindReplace( TQWidget * parent, KoReplaceDia * dialog, const TQValueList<KoTextObject *> & lstObject, KoTextView* textView ); @@ -297,7 +297,7 @@ private: class KoFormatDia: public KDialogBase { Q_OBJECT - TQ_OBJECT + public: KoFormatDia( TQWidget* parent, const TQString & _caption, KoSearchContext *_ctx, const char* name=0L); //apply to parameter to context ! diff --git a/lib/kotext/KoSpell.h b/lib/kotext/KoSpell.h index 55c3971c..2430bb69 100644 --- a/lib/kotext/KoSpell.h +++ b/lib/kotext/KoSpell.h @@ -45,7 +45,7 @@ namespace KSpell2 class KOTEXT_EXPORT KoSpell : public KSpell2::BackgroundChecker { Q_OBJECT - TQ_OBJECT + public: KoSpell( const KSpell2::Broker::Ptr& broker, TQObject *parent =0, diff --git a/lib/kotext/KoStyleManager.h b/lib/kotext/KoStyleManager.h index b562e1f6..6d27449a 100644 --- a/lib/kotext/KoStyleManager.h +++ b/lib/kotext/KoStyleManager.h @@ -54,7 +54,7 @@ class KoStyleManagerPrivate; class KOTEXT_EXPORT KoStyleManager : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: enum { ShowIncludeInToc = 1 }; // bitfield for flags @@ -121,7 +121,7 @@ protected: class KOTEXT_EXPORT KoStyleManagerTab : public TQWidget { Q_OBJECT - TQ_OBJECT + public: KoStyleManagerTab(TQWidget *parent) : TQWidget(parent) {}; @@ -142,7 +142,7 @@ protected: class KOTEXT_EXPORT KoStyleParagTab : public KoStyleManagerTab { Q_OBJECT - TQ_OBJECT + public: KoStyleParagTab( TQWidget * parent ); @@ -162,7 +162,7 @@ private: class KOTEXT_EXPORT KoStyleFontTab : public KoStyleManagerTab { Q_OBJECT - TQ_OBJECT + public: KoStyleFontTab( TQWidget * parent ); ~KoStyleFontTab(); diff --git a/lib/kotext/KoTextDocument.h b/lib/kotext/KoTextDocument.h index 8cf9fd4d..234095a6 100644 --- a/lib/kotext/KoTextDocument.h +++ b/lib/kotext/KoTextDocument.h @@ -45,7 +45,7 @@ class CustomItemsMap; class KOTEXT_EXPORT KoTextDocument : public TQObject { Q_OBJECT - TQ_OBJECT + friend class KoTextCursor; friend class KoTextParag; diff --git a/lib/kotext/KoTextIterator.h b/lib/kotext/KoTextIterator.h index c2c5fff8..accd8f92 100644 --- a/lib/kotext/KoTextIterator.h +++ b/lib/kotext/KoTextIterator.h @@ -36,7 +36,7 @@ class KoTextView; class KOTEXT_EXPORT KoTextIterator : public TQObject { Q_OBJECT - TQ_OBJECT + public: /** * @param lstObjects list of text objects to iterate over diff --git a/lib/kotext/KoTextObject.h b/lib/kotext/KoTextObject.h index 7970a323..4111d4d2 100644 --- a/lib/kotext/KoTextObject.h +++ b/lib/kotext/KoTextObject.h @@ -181,7 +181,7 @@ public: class KOTEXT_EXPORT KoTextObject : public TQObject, public KoTextFormatInterface { Q_OBJECT - TQ_OBJECT + public: /** Constructor. * This constructor creates the contained KoTextDocument automatically. diff --git a/lib/kotext/KoTextView.h b/lib/kotext/KoTextView.h index 6b9937bb..d1e9ee44 100644 --- a/lib/kotext/KoTextView.h +++ b/lib/kotext/KoTextView.h @@ -53,7 +53,7 @@ class KoParagStyle; class KOTEXT_EXPORT KoTextView : public TQObject, public KoTextFormatInterface { Q_OBJECT - TQ_OBJECT + public: /** * Constructor. A KoTextView is associated to a KoTextObject. diff --git a/lib/kotext/KoVariable.h b/lib/kotext/KoVariable.h index fce8fc2d..5cadc5e9 100644 --- a/lib/kotext/KoVariable.h +++ b/lib/kotext/KoVariable.h @@ -292,7 +292,7 @@ class KoVariableCollection; class KOTEXT_EXPORT KoVariableCollection : public TQObject { Q_OBJECT - TQ_OBJECT + public: // Note that the KoVariableSettings becomes owned by the collection; // we take it as argument so that it can be subclassed though. diff --git a/lib/kotext/TimeFormatWidget.h b/lib/kotext/TimeFormatWidget.h index 3fd2c8bf..6813203b 100644 --- a/lib/kotext/TimeFormatWidget.h +++ b/lib/kotext/TimeFormatWidget.h @@ -5,7 +5,7 @@ class TimeFormatWidget : public TimeDateFormatWidgetPrototype { Q_OBJECT - TQ_OBJECT + public: TimeFormatWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/lib/kotext/tests/KoUserStyleTester.h b/lib/kotext/tests/KoUserStyleTester.h index d5b32519..c53b8415 100644 --- a/lib/kotext/tests/KoUserStyleTester.h +++ b/lib/kotext/tests/KoUserStyleTester.h @@ -23,7 +23,7 @@ class KoUserStyleTester : public KUnitTest::SlotTester { Q_OBJECT - TQ_OBJECT + private slots: void testEmptyCollection(); void testAddStyle(); diff --git a/lib/kross/main/scriptaction.h b/lib/kross/main/scriptaction.h index 4b78d611..e6b17c73 100644 --- a/lib/kross/main/scriptaction.h +++ b/lib/kross/main/scriptaction.h @@ -41,7 +41,7 @@ namespace Kross { namespace Api { , public Kross::Api::ScriptContainer { Q_OBJECT - TQ_OBJECT + /// The name of the interpreter used to execute the scripting code. //TQ_PROPERTY(TQString interpretername READ getInterpreterName WRITE setInterpreterName) diff --git a/lib/kross/main/scriptguiclient.h b/lib/kross/main/scriptguiclient.h index a835d0a2..c8ebf912 100644 --- a/lib/kross/main/scriptguiclient.h +++ b/lib/kross/main/scriptguiclient.h @@ -45,7 +45,7 @@ namespace Kross { namespace Api { , public KXMLGUIClient { Q_OBJECT - TQ_OBJECT + //TQ_PROPERTY(TQString configfile READ getConfigFile WRITE setConfigFile) public: diff --git a/lib/kross/main/wdgscriptsmanager.h b/lib/kross/main/wdgscriptsmanager.h index 5423777b..a30111d1 100644 --- a/lib/kross/main/wdgscriptsmanager.h +++ b/lib/kross/main/wdgscriptsmanager.h @@ -37,7 +37,7 @@ class WdgScriptsManagerPrivate; class WdgScriptsManager : public WdgScriptsManagerBase { Q_OBJECT - TQ_OBJECT + public: WdgScriptsManager(ScriptGUIClient* scr, TQWidget* parent = 0, const char* name = 0, WFlags fl = 0); ~WdgScriptsManager(); diff --git a/lib/kross/test/testaction.h b/lib/kross/test/testaction.h index 748cd6db..7f4dd79c 100644 --- a/lib/kross/test/testaction.h +++ b/lib/kross/test/testaction.h @@ -32,7 +32,7 @@ class TestAction : public TQWidget { Q_OBJECT - TQ_OBJECT + public: TestAction(Kross::Api::ScriptContainer::Ptr scriptcontainer); ~TestAction(); diff --git a/lib/kross/test/testobject.h b/lib/kross/test/testobject.h index 7bbf6f05..21454829 100644 --- a/lib/kross/test/testobject.h +++ b/lib/kross/test/testobject.h @@ -28,7 +28,7 @@ class TestObject : public TQObject { Q_OBJECT - TQ_OBJECT + TQ_PROPERTY(TQString testProperty READ testProperty WRITE setTestProperty) diff --git a/lib/kross/test/testwindow.h b/lib/kross/test/testwindow.h index 9f5da67d..9a10104c 100644 --- a/lib/kross/test/testwindow.h +++ b/lib/kross/test/testwindow.h @@ -36,7 +36,7 @@ class KTextEdit; class TestWindow : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: TestWindow(const TQString& interpretername, const TQString& scriptcode); virtual ~TestWindow(); |