summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppsupport_events.h
diff options
context:
space:
mode:
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: