summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 15:36:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 19:46:54 +0900
commit55cd4e5c5697a37d6845e2f056a16c512799023c (patch)
tree931f7e94f3a152b1bc24f3e676b5eb6651064d6b /kate/part
parent5c2b0a1494b04e420a342ea5bae7699a812af82c (diff)
downloadtdelibs-55cd4e5c5697a37d6845e2f056a16c512799023c.tar.gz
tdelibs-55cd4e5c5697a37d6845e2f056a16c512799023c.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8eb500c4e81229a9853e2f9bac4f39450083f3d7)
Diffstat (limited to 'kate/part')
-rw-r--r--kate/part/katearbitraryhighlight.h4
-rw-r--r--kate/part/kateautoindent.h22
-rw-r--r--kate/part/katebookmarks.h2
-rw-r--r--kate/part/katebuffer.h2
-rw-r--r--kate/part/katecodecompletion.h6
-rw-r--r--kate/part/katecodefoldinghelpers.h2
-rw-r--r--kate/part/katedialogs.h26
-rw-r--r--kate/part/katedocument.h2
-rw-r--r--kate/part/katedocumenthelpers.h2
-rw-r--r--kate/part/katefiletype.h4
-rw-r--r--kate/part/katehighlight.h4
-rw-r--r--kate/part/kateprinter.h6
-rw-r--r--kate/part/kateschema.h14
-rw-r--r--kate/part/katesearch.h4
-rw-r--r--kate/part/katespell.h2
-rw-r--r--kate/part/katesupercursor.h6
-rw-r--r--kate/part/katetemplatehandler.h2
-rw-r--r--kate/part/kateview.h2
-rw-r--r--kate/part/kateviewhelpers.h8
-rw-r--r--kate/part/kateviewinternal.h2
-rw-r--r--kate/part/test_regression.h2
21 files changed, 62 insertions, 62 deletions
diff --git a/kate/part/katearbitraryhighlight.h b/kate/part/katearbitraryhighlight.h
index 1bea4891f..222c82c2e 100644
--- a/kate/part/katearbitraryhighlight.h
+++ b/kate/part/katearbitraryhighlight.h
@@ -31,7 +31,7 @@ class KateView;
class KateArbitraryHighlightRange : public KateSuperRange, public KateAttribute
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateArbitraryHighlightRange(KateSuperCursor* start, KateSuperCursor* end, TQObject* parent = 0L, const char* name = 0L);
@@ -59,7 +59,7 @@ public:
*/
class KateArbitraryHighlight : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateArbitraryHighlight(KateDocument* parent = 0L, const char* name = 0L);
diff --git a/kate/part/kateautoindent.h b/kate/part/kateautoindent.h
index fe8980d15..6a499df8e 100644
--- a/kate/part/kateautoindent.h
+++ b/kate/part/kateautoindent.h
@@ -43,7 +43,7 @@ class KateDocument;
*/
class IndenterConfigPage : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -69,7 +69,7 @@ class IndenterConfigPage : public TQWidget
*/
class KateAutoIndent : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
/**
* Static methods to create and list indention modes
@@ -194,7 +194,7 @@ class KateAutoIndent : public TQObject
*/
class KateViewIndentationAction : public TDEActionMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateViewIndentationAction(KateDocument *_doc, const TQString& text, TQObject* parent = 0, const char* name = 0);
@@ -216,7 +216,7 @@ class KateViewIndentationAction : public TDEActionMenu
*/
class KateNormalIndent : public KateAutoIndent
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -347,7 +347,7 @@ protected:
class KateCSmartIndent : public KateNormalIndent
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateCSmartIndent (KateDocument *doc);
@@ -378,7 +378,7 @@ class KateCSmartIndent : public KateNormalIndent
class KatePythonIndent : public KateNormalIndent
{
- Q_OBJECT
+ TQ_OBJECT
public:
KatePythonIndent (KateDocument *doc);
@@ -399,7 +399,7 @@ class KatePythonIndent : public KateNormalIndent
class KateXmlIndent : public KateNormalIndent
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateXmlIndent (KateDocument *doc);
@@ -428,7 +428,7 @@ class KateXmlIndent : public KateNormalIndent
class KateCSAndSIndent : public KateNormalIndent
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateCSAndSIndent (KateDocument *doc);
@@ -491,7 +491,7 @@ class KateCSAndSIndent : public KateNormalIndent
*/
class KateVarIndent : public KateNormalIndent
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -542,7 +542,7 @@ class KateVarIndent : public KateNormalIndent
class KateScriptIndent : public KateNormalIndent
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateScriptIndent( KateDocument *doc );
@@ -563,7 +563,7 @@ class KateScriptIndent : public KateNormalIndent
class ScriptIndentConfigPage : public IndenterConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
ScriptIndentConfigPage ( TQWidget *parent=0, const char *name=0 );
diff --git a/kate/part/katebookmarks.h b/kate/part/katebookmarks.h
index 3295141f7..05215b66a 100644
--- a/kate/part/katebookmarks.h
+++ b/kate/part/katebookmarks.h
@@ -37,7 +37,7 @@ class TQMenuData;
class KateBookmarks : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Sorting { Position, Creation };
diff --git a/kate/part/katebuffer.h b/kate/part/katebuffer.h
index 2be23cbdb..96765ceba 100644
--- a/kate/part/katebuffer.h
+++ b/kate/part/katebuffer.h
@@ -340,7 +340,7 @@ class KateBufBlockList
*/
class KateBuffer : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
friend class KateBufBlock;
diff --git a/kate/part/katecodecompletion.h b/kate/part/katecodecompletion.h
index d2c9ca636..78c68a759 100644
--- a/kate/part/katecodecompletion.h
+++ b/kate/part/katecodecompletion.h
@@ -46,7 +46,7 @@ class TQVBox;
class KateCodeCompletionCommentLabel : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateCodeCompletionCommentLabel( TQWidget* parent, const TQString& text) : TQLabel( parent, "toolTipTip",
@@ -66,7 +66,7 @@ class KateCodeCompletionCommentLabel : public TQLabel
class KateCodeCompletion : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
friend class KateViewInternal;
@@ -116,7 +116,7 @@ class KateCodeCompletion : public TQObject
class KateArgHint: public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateArgHint( KateView* =0, const char* =0 );
diff --git a/kate/part/katecodefoldinghelpers.h b/kate/part/katecodefoldinghelpers.h
index 3f6d18b27..21faeeb0d 100644
--- a/kate/part/katecodefoldinghelpers.h
+++ b/kate/part/katecodefoldinghelpers.h
@@ -117,7 +117,7 @@ class KateCodeFoldingTree : public TQObject
{
friend class KateCodeFoldingNode;
- Q_OBJECT
+ TQ_OBJECT
public:
KateCodeFoldingTree (KateBuffer *buffer);
diff --git a/kate/part/katedialogs.h b/kate/part/katedialogs.h
index 0f865fcea..b4b4eb137 100644
--- a/kate/part/katedialogs.h
+++ b/kate/part/katedialogs.h
@@ -79,7 +79,7 @@ class TQCheckBox;
class KateConfigPage : public Kate::ConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateConfigPage ( TQWidget *parent=0, const char *name=0 );
@@ -97,7 +97,7 @@ class KateConfigPage : public Kate::ConfigPage
class KateGotoLineDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -112,7 +112,7 @@ class KateGotoLineDialog : public KDialogBase
class KateIndentConfigTab : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateIndentConfigTab(TQWidget *parent);
@@ -141,7 +141,7 @@ class KateIndentConfigTab : public KateConfigPage
class KateSelectConfigTab : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSelectConfigTab(TQWidget *parent);
@@ -164,7 +164,7 @@ class KateSelectConfigTab : public KateConfigPage
class KateEditConfigTab : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateEditConfigTab(TQWidget *parent);
@@ -189,7 +189,7 @@ class KateEditConfigTab : public KateConfigPage
class KateViewDefaultsConfig : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateViewDefaultsConfig( TQWidget *parent );
@@ -217,7 +217,7 @@ class KateViewDefaultsConfig : public KateConfigPage
class KateEditKeyConfiguration: public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateEditKeyConfiguration( TQWidget* parent, KateDocument* doc );
@@ -240,7 +240,7 @@ class KateEditKeyConfiguration: public KateConfigPage
class KateSaveConfigTab : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSaveConfigTab( TQWidget *parent );
@@ -265,7 +265,7 @@ class KatePartPluginListItem;
class KatePartPluginListView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
friend class KatePartPluginListItem;
@@ -282,7 +282,7 @@ class KatePartPluginListView : public TDEListView
class TQListViewItem;
class KatePartPluginConfigPage : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KatePartPluginConfigPage (TQWidget *parent);
@@ -307,7 +307,7 @@ class KatePartPluginConfigPage : public KateConfigPage
class KateHlConfigPage : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateHlConfigPage (TQWidget *parent, KateDocument *doc);
@@ -341,7 +341,7 @@ class KateHlConfigPage : public KateConfigPage
class KateHlDownloadDialog: public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateHlDownloadDialog(TQWidget *parent, const char *name, bool modal);
@@ -369,7 +369,7 @@ class TDEProcess;
*/
class KateModOnHdPrompt : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Status {
Reload=1, // 0 is KDialogBase::Cancel
diff --git a/kate/part/katedocument.h b/kate/part/katedocument.h
index b417c6d7d..c16a86840 100644
--- a/kate/part/katedocument.h
+++ b/kate/part/katedocument.h
@@ -84,7 +84,7 @@ class KateDocument : public Kate::Document,
public DCOPObject
{
K_DCOP
- Q_OBJECT
+ TQ_OBJECT
friend class KateViewInternal;
friend class KateRenderer;
diff --git a/kate/part/katedocumenthelpers.h b/kate/part/katedocumenthelpers.h
index b604d47ce..0609f6841 100644
--- a/kate/part/katedocumenthelpers.h
+++ b/kate/part/katedocumenthelpers.h
@@ -35,7 +35,7 @@ class KateDocument;
*/
class KateBrowserExtension : public KParts::BrowserExtension
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/kate/part/katefiletype.h b/kate/part/katefiletype.h
index 7a927636b..c85682249 100644
--- a/kate/part/katefiletype.h
+++ b/kate/part/katefiletype.h
@@ -78,7 +78,7 @@ class KateFileTypeManager
class KateFileTypeConfigTab : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateFileTypeConfigTab( TQWidget *parent );
@@ -114,7 +114,7 @@ class KateFileTypeConfigTab : public KateConfigPage
class KateViewFileTypeAction : public Kate::ActionMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateViewFileTypeAction(const TQString& text, TQObject* parent = 0, const char* name = 0)
diff --git a/kate/part/katehighlight.h b/kate/part/katehighlight.h
index 207d9a245..3ab7a7042 100644
--- a/kate/part/katehighlight.h
+++ b/kate/part/katehighlight.h
@@ -340,7 +340,7 @@ class KateHighlighting
class KateHlManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
KateHlManager();
@@ -408,7 +408,7 @@ class KateHlManager : public TQObject
class KateViewHighlightAction: public Kate::ActionMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateViewHighlightAction(const TQString& text, TQObject* parent = 0, const char* name = 0)
diff --git a/kate/part/kateprinter.h b/kate/part/kateprinter.h
index 283c2b58e..b24691102 100644
--- a/kate/part/kateprinter.h
+++ b/kate/part/kateprinter.h
@@ -50,7 +50,7 @@ class KatePrinter
*/
class KatePrintTextSettings : public KPrintDialogPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KatePrintTextSettings( KPrinter *printer, TQWidget *parent=0, const char *name=0 );
~KatePrintTextSettings(){};
@@ -77,7 +77,7 @@ class KatePrintTextSettings : public KPrintDialogPage
class KatePrintHeaderFooter : public KPrintDialogPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KatePrintHeaderFooter( KPrinter *printer, TQWidget *parent=0, const char *name=0 );
~KatePrintHeaderFooter(){};
@@ -115,7 +115,7 @@ class KatePrintHeaderFooter : public KPrintDialogPage
*/
class KatePrintLayout : public KPrintDialogPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KatePrintLayout( KPrinter *printer, TQWidget *parent=0, const char *name=0 );
~KatePrintLayout(){};
diff --git a/kate/part/kateschema.h b/kate/part/kateschema.h
index cf503be68..55f03ebee 100644
--- a/kate/part/kateschema.h
+++ b/kate/part/kateschema.h
@@ -92,7 +92,7 @@ class KateSchemaManager
class KateViewSchemaAction : public TDEActionMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateViewSchemaAction(const TQString& text, TQObject* parent = 0, const char* name = 0)
@@ -127,7 +127,7 @@ class KateViewSchemaAction : public TDEActionMenu
*/
class KateStyleListView : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
friend class KateStyleListItem;
@@ -162,7 +162,7 @@ class KateStyleListView : public TQListView
class KateSchemaConfigColorTab : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSchemaConfigColorTab( TQWidget *parent = 0, const char *name = 0 );
@@ -209,7 +209,7 @@ typedef TQMap<int,TQFont> FontMap; // ### remove it
class KateSchemaConfigFontTab : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSchemaConfigFontTab( TQWidget *parent = 0, const char *name = 0 );
@@ -236,7 +236,7 @@ class KateSchemaConfigFontTab : public TQWidget
class KateSchemaConfigFontColorTab : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSchemaConfigFontColorTab( TQWidget *parent = 0, const char *name = 0 );
@@ -256,7 +256,7 @@ class KateSchemaConfigFontColorTab : public TQWidget
class KateSchemaConfigHighlightTab : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSchemaConfigHighlightTab( TQWidget *parent = 0, const char *name = 0, KateSchemaConfigFontColorTab *page = 0, uint hl = 0 );
@@ -284,7 +284,7 @@ class KateSchemaConfigHighlightTab : public TQWidget
class KateSchemaConfigPage : public KateConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSchemaConfigPage ( TQWidget *parent, class KateDocument *doc=0 );
diff --git a/kate/part/katesearch.h b/kate/part/katesearch.h
index 139cd3ff9..7ff798325 100644
--- a/kate/part/katesearch.h
+++ b/kate/part/katesearch.h
@@ -41,7 +41,7 @@ class TDEActionCollection;
class KateSearch : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
friend class KateDocument;
@@ -167,7 +167,7 @@ class KateSearch : public TQObject
*/
class KateReplacePrompt : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/kate/part/katespell.h b/kate/part/katespell.h
index 6119d0ea4..6a5e3ad52 100644
--- a/kate/part/katespell.h
+++ b/kate/part/katespell.h
@@ -32,7 +32,7 @@ class KSpell;
class KateSpell : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateSpell( KateView* );
diff --git a/kate/part/katesupercursor.h b/kate/part/katesupercursor.h
index 74baf07df..270227925 100644
--- a/kate/part/katesupercursor.h
+++ b/kate/part/katesupercursor.h
@@ -44,7 +44,7 @@ class KateView;
**/
class KateSuperCursor : public TQObject, public KateDocCursor, public Kate::Cursor
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -169,7 +169,7 @@ class KateSuperRange : public TQObject, public KateRange
{
friend class KateSuperRangeList;
- Q_OBJECT
+ TQ_OBJECT
public:
/// Determine how the range reacts to characters inserted immediately outside the range.
@@ -338,7 +338,7 @@ protected:
class KateSuperRangeList : public TQObject, public TQPtrList<KateSuperRange>
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/kate/part/katetemplatehandler.h b/kate/part/katetemplatehandler.h
index d7d56e074..f50023f46 100644
--- a/kate/part/katetemplatehandler.h
+++ b/kate/part/katetemplatehandler.h
@@ -29,7 +29,7 @@
class KateDocument;
class KateTemplateHandler: public TQObject, public KateKeyInterceptorFunctor {
- Q_OBJECT
+ TQ_OBJECT
public:
KateTemplateHandler(KateDocument *doc,uint line,uint column, const TQString &templateString, const TQMap<TQString,TQString> &initialValues);
virtual ~KateTemplateHandler();
diff --git a/kate/part/kateview.h b/kate/part/kateview.h
index 0a00ab1fc..1e113618e 100644
--- a/kate/part/kateview.h
+++ b/kate/part/kateview.h
@@ -62,7 +62,7 @@ class KateView : public Kate::View,
public KTextEditor::SelectionInterfaceExt,
public KTextEditor::BlockSelectionInterface
{
- Q_OBJECT
+ TQ_OBJECT
friend class KateViewInternal;
friend class KateIconBorder;
diff --git a/kate/part/kateviewhelpers.h b/kate/part/kateviewhelpers.h
index ecaec3303..1e162af18 100644
--- a/kate/part/kateviewhelpers.h
+++ b/kate/part/kateviewhelpers.h
@@ -47,7 +47,7 @@ namespace Kate {
*/
class KateScrollBar : public TQScrollBar
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateScrollBar(Orientation orientation, class KateViewInternal *parent, const char* name = 0L);
@@ -94,7 +94,7 @@ class KateScrollBar : public TQScrollBar
class KateCmdLine : public KLineEdit
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateCmdLine (KateView *view);
@@ -121,7 +121,7 @@ class KateCmdLine : public KLineEdit
class KateIconBorder : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateIconBorder( KateViewInternal* internalView, TQWidget *parent );
@@ -184,7 +184,7 @@ class KateIconBorder : public TQWidget
class KateViewEncodingAction : public TDEActionMenu
{
- Q_OBJECT
+ TQ_OBJECT
public:
KateViewEncodingAction(KateDocument *_doc, KateView *_view, const TQString& text, TQObject* parent = 0, const char* name = 0);
diff --git a/kate/part/kateviewinternal.h b/kate/part/kateviewinternal.h
index 0d9aa7c55..77fb81e7a 100644
--- a/kate/part/kateviewinternal.h
+++ b/kate/part/kateviewinternal.h
@@ -52,7 +52,7 @@ enum Bias
class KateViewInternal : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
friend class KateView;
friend class KateIconBorder;
diff --git a/kate/part/test_regression.h b/kate/part/test_regression.h
index 2128ce25d..7ef1b9ee1 100644
--- a/kate/part/test_regression.h
+++ b/kate/part/test_regression.h
@@ -162,7 +162,7 @@ class OutputFunction : public KJS::ObjectImp
*/
class RegressionTest : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
RegressionTest(KateDocument *part, TDEConfig *baseConfig,