summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppsupport_events.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/cppsupport_events.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/cppsupport_events.h')
-rw-r--r--languages/cpp/cppsupport_events.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/languages/cpp/cppsupport_events.h b/languages/cpp/cppsupport_events.h
index 0c266726..2dbac39a 100644
--- a/languages/cpp/cppsupport_events.h
+++ b/languages/cpp/cppsupport_events.h
@@ -14,29 +14,29 @@
#include "kdevdeepcopy.h"
-#include <qevent.h>
-#include <qvaluelist.h>
+#include <tqevent.h>
+#include <tqvaluelist.h>
#if QT_VERSION < 0x030100
#include <kdevmutex.h>
#else
-#include <qmutex.h>
+#include <tqmutex.h>
#endif
enum
{
- Event_FileParsed = QEvent::User + 1000
+ Event_FileParsed = TQEvent::User + 1000
};
class FileParsedEvent: public QCustomEvent
{
public:
- FileParsedEvent( const QString& fileName, const QValueList<Problem>& problems, bool fromDisk = false )
- : QCustomEvent( Event_FileParsed ), m_fileName( deepCopy( fileName ) ), m_fromDisk( fromDisk )
+ FileParsedEvent( const TQString& fileName, const TQValueList<Problem>& problems, bool fromDisk = false )
+ : TQCustomEvent( Event_FileParsed ), m_fileName( deepCopy( fileName ) ), m_fromDisk( fromDisk )
{
// the members are deep copies
- QValueListConstIterator<Problem> it = problems.begin();
+ TQValueListConstIterator<Problem> it = problems.begin();
while ( it != problems.end() )
{
Problem p = *it;
@@ -46,11 +46,11 @@ public:
}
}
- QString fileName() const
+ TQString fileName() const
{
return m_fileName;
}
- QValueList<Problem> problems() const
+ TQValueList<Problem> problems() const
{
return m_problems;
}
@@ -60,8 +60,8 @@ public:
}
private:
- QString m_fileName;
- QValueList<Problem> m_problems;
+ TQString m_fileName;
+ TQValueList<Problem> m_problems;
bool m_fromDisk;
private: