summaryrefslogtreecommitdiffstats
path: root/ksayit/src/contextmenuhandler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
commit28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch)
treea2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /ksayit/src/contextmenuhandler.h
parent0285229d858c8f03cde7354c679a752598cf4515 (diff)
downloadtdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz
tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksayit/src/contextmenuhandler.h')
-rw-r--r--ksayit/src/contextmenuhandler.h46
1 files changed, 23 insertions, 23 deletions
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 <qobject.h>
-#include <qstring.h>
-#include <qxml.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqxml.h>
// KDE includes
#include <kaction.h>
@@ -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;
};