diff options
Diffstat (limited to 'interfaces/tdetexteditor')
20 files changed, 27 insertions, 27 deletions
diff --git a/interfaces/tdetexteditor/blockselectiondcopinterface.h b/interfaces/tdetexteditor/blockselectiondcopinterface.h index 4b74fd2a0..66045239b 100644 --- a/interfaces/tdetexteditor/blockselectiondcopinterface.h +++ b/interfaces/tdetexteditor/blockselectiondcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent BlockSelectionInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ BlockSelectionDCOPInterface( BlockSelectionInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/clipboarddcopinterface.h b/interfaces/tdetexteditor/clipboarddcopinterface.h index 8104e9d4d..9a75f9b97 100644 --- a/interfaces/tdetexteditor/clipboarddcopinterface.h +++ b/interfaces/tdetexteditor/clipboarddcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent ClipboardInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ ClipboardDCOPInterface( ClipboardInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/configinterfaceextension.h b/interfaces/tdetexteditor/configinterfaceextension.h index 23fa5bb38..f640ab0c5 100644 --- a/interfaces/tdetexteditor/configinterfaceextension.h +++ b/interfaces/tdetexteditor/configinterfaceextension.h @@ -28,7 +28,7 @@ namespace KTextEditor class KTEXTEDITOR_EXPORT ConfigPage : public TQWidget { - Q_OBJECT + TQ_OBJECT public: ConfigPage ( TQWidget *parent=0, const char *name=0 ); diff --git a/interfaces/tdetexteditor/document.h b/interfaces/tdetexteditor/document.h index 83d8b7cf6..817389ba3 100644 --- a/interfaces/tdetexteditor/document.h +++ b/interfaces/tdetexteditor/document.h @@ -32,7 +32,7 @@ class KTEXTEDITOR_EXPORT Document : public KTextEditor::Editor { friend class PrivateDocument; - Q_OBJECT + TQ_OBJECT public: diff --git a/interfaces/tdetexteditor/documentdcopinfo.h b/interfaces/tdetexteditor/documentdcopinfo.h index ea25284fe..aedaee6a5 100644 --- a/interfaces/tdetexteditor/documentdcopinfo.h +++ b/interfaces/tdetexteditor/documentdcopinfo.h @@ -25,7 +25,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent DocumentInfoInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ DocumentInfoDCOPInterface( DocumentInfoInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/editdcopinterface.h b/interfaces/tdetexteditor/editdcopinterface.h index f169fb15b..c0a0f6cdf 100644 --- a/interfaces/tdetexteditor/editdcopinterface.h +++ b/interfaces/tdetexteditor/editdcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent EditInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ EditDCOPInterface( EditInterface *Parent, const char *name ); /** @@ -34,7 +34,7 @@ namespace KTextEditor virtual ~EditDCOPInterface(); k_dcop: /** - * @return the complete document as a single QString + * @return the complete document as a single TQString */ virtual TQString text (); diff --git a/interfaces/tdetexteditor/editinterface.h b/interfaces/tdetexteditor/editinterface.h index 05e4941f2..9da6a275d 100644 --- a/interfaces/tdetexteditor/editinterface.h +++ b/interfaces/tdetexteditor/editinterface.h @@ -48,12 +48,12 @@ class KTEXTEDITOR_EXPORT EditInterface * slots !!! */ /** - * @return the complete document as a single QString + * @return the complete document as a single TQString */ virtual TQString text () const = 0; /** - * @return a QString + * @return a TQString */ virtual TQString text ( uint startLine, uint startCol, uint endLine, uint endCol ) const = 0; diff --git a/interfaces/tdetexteditor/editor.h b/interfaces/tdetexteditor/editor.h index 8b6699f9f..475711a9d 100644 --- a/interfaces/tdetexteditor/editor.h +++ b/interfaces/tdetexteditor/editor.h @@ -40,7 +40,7 @@ class KTEXTEDITOR_EXPORT Editor : public KParts::ReadWritePart { friend class PrivateEditor; - Q_OBJECT + TQ_OBJECT public: diff --git a/interfaces/tdetexteditor/editorchooser.cpp b/interfaces/tdetexteditor/editorchooser.cpp index 1eddfb8d6..0fc06bd9e 100644 --- a/interfaces/tdetexteditor/editorchooser.cpp +++ b/interfaces/tdetexteditor/editorchooser.cpp @@ -75,7 +75,7 @@ EditorChooser:: ~EditorChooser(){ } void EditorChooser::readAppSetting(const TQString& postfix){ - TDEConfig *cfg=kapp->config(); + TDEConfig *cfg=tdeApp->config(); TQString previousGroup=cfg->group(); cfg->setGroup("KTEXTEDITOR:"+postfix); TQString editor=cfg->readPathEntry("editor"); @@ -90,7 +90,7 @@ void EditorChooser::readAppSetting(const TQString& postfix){ } void EditorChooser::writeAppSetting(const TQString& postfix){ - TDEConfig *cfg=kapp->config(); + TDEConfig *cfg=tdeApp->config(); TQString previousGroup=cfg->group(); cfg->setGroup("KTEXTEDITOR:"+postfix); cfg->writeEntry("DEVELOPER_INFO","NEVER TRY TO USE VALUES FROM THAT GROUP, THEY ARE SUBJECT TO CHANGES"); @@ -105,7 +105,7 @@ KTextEditor::Document *EditorChooser::createDocument(TQObject *parent,const char KTextEditor::Document *tmpDoc=0; - TDEConfig *cfg=kapp->config(); + TDEConfig *cfg=tdeApp->config(); TQString previousGroup=cfg->group(); cfg->setGroup("KTEXTEDITOR:"+postfix); TQString editor=cfg->readPathEntry("editor"); @@ -135,7 +135,7 @@ KTextEditor::Editor *EditorChooser::createEditor(TQWidget *parentWidget,TQObject KTextEditor::Editor *tmpEd=0; - TDEConfig *cfg=kapp->config(); + TDEConfig *cfg=tdeApp->config(); TQString previousGroup=cfg->group(); cfg->setGroup("KTEXTEDITOR:"+postfix); TQString editor=cfg->readPathEntry("editor"); diff --git a/interfaces/tdetexteditor/editorchooser.h b/interfaces/tdetexteditor/editorchooser.h index 251776c10..62feda5c6 100644 --- a/interfaces/tdetexteditor/editorchooser.h +++ b/interfaces/tdetexteditor/editorchooser.h @@ -16,7 +16,7 @@ class KTEXTEDITOR_EXPORT EditorChooser: public TQWidget { friend class PrivateEditorChooser; - Q_OBJECT + TQ_OBJECT public: EditorChooser(TQWidget *parent=0,const char *name=0); @@ -36,7 +36,7 @@ class KTEXTEDITOR_EXPORT EditorChooser: public TQWidget /* class EditorChooserBackEnd: public ComponentChooserPlugin { -Q_OBJECT +TQ_OBJECT public: EditorChooserBackEnd(TQObject *parent=0, const char *name=0); virtual ~EditorChooserBackEnd(); diff --git a/interfaces/tdetexteditor/encodingdcopinterface.h b/interfaces/tdetexteditor/encodingdcopinterface.h index 38de4e0aa..e13a6dff4 100644 --- a/interfaces/tdetexteditor/encodingdcopinterface.h +++ b/interfaces/tdetexteditor/encodingdcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent EncodingInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ EncodingDCOPInterface( EncodingInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/plugin.h b/interfaces/tdetexteditor/plugin.h index 68416bf78..b13dc37e9 100644 --- a/interfaces/tdetexteditor/plugin.h +++ b/interfaces/tdetexteditor/plugin.h @@ -37,7 +37,7 @@ class KTEXTEDITOR_EXPORT Plugin : public TQObject { friend class PrivatePlugin; - Q_OBJECT + TQ_OBJECT public: Plugin ( Document *document = 0, const char *name = 0 ); diff --git a/interfaces/tdetexteditor/printdcopinterface.h b/interfaces/tdetexteditor/printdcopinterface.h index e41e6da5d..f3d176fbd 100644 --- a/interfaces/tdetexteditor/printdcopinterface.h +++ b/interfaces/tdetexteditor/printdcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent PrintInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ PrintDCOPInterface( PrintInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/searchdcopinterface.h b/interfaces/tdetexteditor/searchdcopinterface.h index d4f558a26..e8a82a35b 100644 --- a/interfaces/tdetexteditor/searchdcopinterface.h +++ b/interfaces/tdetexteditor/searchdcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent SearchInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ SearchDCOPInterface( SearchInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/selectiondcopinterface.h b/interfaces/tdetexteditor/selectiondcopinterface.h index aa2973540..70e6e2f0b 100644 --- a/interfaces/tdetexteditor/selectiondcopinterface.h +++ b/interfaces/tdetexteditor/selectiondcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent SelectionInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ SelectionDCOPInterface( SelectionInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/templateinterface.cpp b/interfaces/tdetexteditor/templateinterface.cpp index 25c103196..f3de57447 100644 --- a/interfaces/tdetexteditor/templateinterface.cpp +++ b/interfaces/tdetexteditor/templateinterface.cpp @@ -75,8 +75,8 @@ bool TemplateInterface::expandMacros( TQMap<TQString, TQString> &map, TQWidget * TDEABC::StdAddressBook *addrBook = 0; TDEABC::Addressee userAddress; TQDateTime datetime = TQDateTime::currentDateTime(); - TQDate date = TQT_TQDATE_OBJECT(datetime.date()); - TQTime time = TQT_TQTIME_OBJECT(datetime.time()); + TQDate date = datetime.date(); + TQTime time = datetime.time(); TQMap<TQString,TQString>::Iterator it; for ( it = map.begin(); it != map.end(); ++it ) diff --git a/interfaces/tdetexteditor/undodcopinterface.h b/interfaces/tdetexteditor/undodcopinterface.h index b1a217036..5e324da03 100644 --- a/interfaces/tdetexteditor/undodcopinterface.h +++ b/interfaces/tdetexteditor/undodcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent UndoInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ UndoDCOPInterface( UndoInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/view.h b/interfaces/tdetexteditor/view.h index 0a807d6b3..c8cf586b8 100644 --- a/interfaces/tdetexteditor/view.h +++ b/interfaces/tdetexteditor/view.h @@ -33,7 +33,7 @@ class KTEXTEDITOR_EXPORT View : public TQWidget, public KXMLGUIClient { friend class PrivateView; - Q_OBJECT + TQ_OBJECT public: /** diff --git a/interfaces/tdetexteditor/viewcursordcopinterface.h b/interfaces/tdetexteditor/viewcursordcopinterface.h index 4bae0b520..e0c956da0 100644 --- a/interfaces/tdetexteditor/viewcursordcopinterface.h +++ b/interfaces/tdetexteditor/viewcursordcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent ViewCursorInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ ViewCursorDCOPInterface( ViewCursorInterface *Parent, const char *name ); /** diff --git a/interfaces/tdetexteditor/viewstatusmsgdcopinterface.h b/interfaces/tdetexteditor/viewstatusmsgdcopinterface.h index b4c5cf72e..aba5b60b5 100644 --- a/interfaces/tdetexteditor/viewstatusmsgdcopinterface.h +++ b/interfaces/tdetexteditor/viewstatusmsgdcopinterface.h @@ -24,7 +24,7 @@ namespace KTextEditor Construct a new interface object for the text editor. @param Parent the parent ViewStatusMsgInterface object that will provide us with the functions for the interface. - @param name the QObject's name + @param name the TQObject's name */ ViewStatusMsgDCOPInterface( ViewStatusMsgInterface *Parent, const char *name ); /** |
