diff options
Diffstat (limited to 'lib/kotext')
30 files changed, 58 insertions, 58 deletions
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(); |