From 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:20:30 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksayit/src/contextmenuhandler.h | 46 ++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'ksayit/src/contextmenuhandler.h') diff --git a/ksayit/src/contextmenuhandler.h b/ksayit/src/contextmenuhandler.h index 102181a..148bb04 100644 --- a/ksayit/src/contextmenuhandler.h +++ b/ksayit/src/contextmenuhandler.h @@ -13,9 +13,9 @@ #define CONTEXTMENUHANDLER_H // Qt includes -#include -#include -#include +#include +#include +#include // KDE includes #include @@ -28,36 +28,36 @@ class ListViewInterface; /** @author Robert Vogl */ -class ContextActionHandler : public QXmlDefaultHandler +class ContextActionHandler : public TQXmlDefaultHandler { public: ContextActionHandler(ContextMenuHandler *menuhandler = 0); ~ContextActionHandler(); // Reimplementations from base class - bool startElement( const QString &namespaceURI, - const QString &localName, - const QString &qName, - const QXmlAttributes &atts ); + bool startElement( const TQString &namespaceURI, + const TQString &localName, + const TQString &qName, + const TQXmlAttributes &atts ); // Reimplementations from base class - bool endElement( const QString &namespaceURI, - const QString &localName, - const QString &qName ); + bool endElement( const TQString &namespaceURI, + const TQString &localName, + const TQString &qName ); // Reimplementations from base class - bool characters( const QString &ch ); + bool characters( const TQString &ch ); - void setSearchID( const QString xmlID ); + void setSearchID( const TQString xmlID ); private: ContextMenuHandler *m_menuhandler; - QString m_subName; - QString m_actionName; - QString m_qty; + TQString m_subName; + TQString m_actionName; + TQString m_qty; KPopupMenu *m_popup; bool m_hit; - QString m_searchID; + TQString m_searchID; }; @@ -68,7 +68,7 @@ class ContextMenuHandler : public QObject { Q_OBJECT public: - ContextMenuHandler(QObject *parent = 0, const char *name = 0); + ContextMenuHandler(TQObject *parent = 0, const char *name = 0); ~ContextMenuHandler(); @@ -94,7 +94,7 @@ public: * given element. * \returns A Pointer to the action. */ - KAction* ActionFactory( const QString &actionName, const QString &qty ); + KAction* ActionFactory( const TQString &actionName, const TQString &qty ); /** * Creates a Popup context menu for the given item and stores a @@ -111,11 +111,11 @@ public: * Sets the number of lines a editable item can hold. * -1 = unlimited. */ - void setItemMaxlines( const QString &maxlines ); + void setItemMaxlines( const TQString &maxlines ); private: // Methods void initActions(); - bool parseXmlFile(const QString &xmlID); + bool parseXmlFile(const TQString &xmlID); public: // Attributes KPopupMenu* m_popupmenu; @@ -143,9 +143,9 @@ private: KAction* newSection_5; // mixed stuff - QString m_XmlFilePath; + TQString m_XmlFilePath; ListViewInterface* m_item; - QObject* m_DocTreeView; + TQObject* m_DocTreeView; }; -- cgit v1.2.1