summaryrefslogtreecommitdiffstats
path: root/kate/xmltools/plugin_katexmltools.h
diff options
context:
space:
mode:
Diffstat (limited to 'kate/xmltools/plugin_katexmltools.h')
-rw-r--r--kate/xmltools/plugin_katexmltools.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/kate/xmltools/plugin_katexmltools.h b/kate/xmltools/plugin_katexmltools.h
index 9be61c7..843ab15 100644
--- a/kate/xmltools/plugin_katexmltools.h
+++ b/kate/xmltools/plugin_katexmltools.h
@@ -25,11 +25,11 @@
#include "pseudo_dtd.h"
-#include <qdict.h>
-#include <qstring.h>
-#include <qlistbox.h>
-#include <qprogressdialog.h>
-#include <qintdict.h>
+#include <tqdict.h>
+#include <tqstring.h>
+#include <tqlistbox.h>
+#include <tqprogressdialog.h>
+#include <tqintdict.h>
#include <kate/plugin.h>
#include <kate/application.h>
@@ -52,7 +52,7 @@ class PluginKateXMLTools : public Kate::Plugin, Kate::PluginViewInterface
public:
- PluginKateXMLTools( QObject* parent = 0, const char* name = 0, const QStringList& = QStringList() );
+ PluginKateXMLTools( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() );
virtual ~PluginKateXMLTools();
void addView ( Kate::MainWindow *win );
void removeView( Kate::MainWindow *win );
@@ -64,52 +64,52 @@ class PluginKateXMLTools : public Kate::Plugin, Kate::PluginViewInterface
void slotInsertElement();
void slotCloseElement();
- void filterInsertString( KTextEditor::CompletionEntry *ce, QString *str );
+ void filterInsertString( KTextEditor::CompletionEntry *ce, TQString *str );
void completionDone( KTextEditor::CompletionEntry completionEntry );
void completionAborted();
void slotFinished( KIO::Job *job );
- void slotData( KIO::Job *, const QByteArray &data );
+ void slotData( KIO::Job *, const TQByteArray &data );
void backspacePressed();
void emptyKeyEvent();
- void keyEvent( int, int, const QString & );
+ void keyEvent( int, int, const TQString & );
/// Connected to the document manager, to manage the dtd collection.
void slotDocumentDeleted( uint n );
protected:
- static QStringList sortQStringList( QStringList list );
- //bool eventFilter( QObject *object, QEvent *event );
+ static TQStringList sortQStringList( TQStringList list );
+ //bool eventFilter( TQObject *object, TQEvent *event );
- QString insideTag( Kate::View &kv );
- QString insideAttribute( Kate::View &kv );
+ TQString insideTag( Kate::View &kv );
+ TQString insideAttribute( Kate::View &kv );
- bool isOpeningTag( QString tag );
- bool isClosingTag( QString tag );
- bool isEmptyTag( QString tag );
- bool isQuote( QString ch );
+ bool isOpeningTag( TQString tag );
+ bool isClosingTag( TQString tag );
+ bool isEmptyTag( TQString tag );
+ bool isQuote( TQString ch );
- QString getParentElement( Kate::View &view, bool ignoreSingleBracket );
+ TQString getParentElement( Kate::View &view, bool ignoreSingleBracket );
enum Mode {none, entities, attributevalues, attributes, elements};
enum PopupMode {noPopup, tagname, attributename, attributevalue, entityname};
- QValueList<KTextEditor::CompletionEntry> stringListToCompletionEntryList( QStringList list );
+ TQValueList<KTextEditor::CompletionEntry> stringListToCompletionEntryList( TQStringList list );
/// Assign the PseudoDTD @p dtd to the Kate::Document @p doc
void assignDTD( PseudoDTD *dtd, KTextEditor::Document *doc );
/// temporary placeholder for the metaDTD file
- QString m_dtdString;
+ TQString m_dtdString;
/// temporary placeholder for the document to assign a DTD to while the file is loaded
KTextEditor::Document *m_docToAssignTo;
/// URL of the last loaded meta DTD
- QString m_urlString;
+ TQString m_urlString;
uint m_lastLine, m_lastCol;
- QStringList m_lastAllowed;
+ TQStringList m_lastAllowed;
int m_popupOpenCol;
Mode m_mode;
@@ -119,12 +119,12 @@ class PluginKateXMLTools : public Kate::Plugin, Kate::PluginViewInterface
KTextEditor::CodeCompletionInterface* m_codeInterface;
/// maps KTE::Document::docNumber -> DTD
- QIntDict<PseudoDTD> m_docDtds;
+ TQIntDict<PseudoDTD> m_docDtds;
/// maps DTD filename -> DTD
- QDict<PseudoDTD> m_dtds;
+ TQDict<PseudoDTD> m_dtds;
- QPtrList<class PluginView> m_views;
+ TQPtrList<class PluginView> m_views;
void connectSlots( Kate::View *kv );
void disconnectSlots( Kate::View *kv );
@@ -138,11 +138,11 @@ class InsertElement : public KDialogBase
Q_OBJECT
public:
- InsertElement( QWidget *parent, const char *name );
+ InsertElement( TQWidget *parent, const char *name );
~InsertElement();
- QString showDialog( QStringList &completions );
+ TQString showDialog( TQStringList &completions );
private slots:
- void slotHistoryTextChanged( const QString& );
+ void slotHistoryTextChanged( const TQString& );
};