summaryrefslogtreecommitdiffstats
path: root/kparts/event.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kparts/event.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kparts/event.h')
-rw-r--r--kparts/event.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kparts/event.h b/kparts/event.h
index 27c1aaf6f..d64dbe974 100644
--- a/kparts/event.h
+++ b/kparts/event.h
@@ -20,7 +20,7 @@
#ifndef __kparts_event_h__
#define __kparts_event_h__
-#include <qevent.h>
+#include <tqevent.h>
#include <kdelibs_export.h>
@@ -40,8 +40,8 @@ public:
virtual const char *eventName() const;
- static bool test( const QEvent *event );
- static bool test( const QEvent *event, const char *name );
+ static bool test( const TQEvent *event );
+ static bool test( const TQEvent *event, const char *name );
};
/**
@@ -58,7 +58,7 @@ public:
bool activated() const { return m_bActivated; }
- static bool test( const QEvent *event ) { return Event::test( event, s_strGUIActivateEvent ); }
+ static bool test( const TQEvent *event ) { return Event::test( event, s_strGUIActivateEvent ); }
private:
static const char *s_strGUIActivateEvent;
@@ -76,20 +76,20 @@ private:
class KPARTS_EXPORT PartActivateEvent : public Event
{
public:
- PartActivateEvent( bool activated, Part *part, QWidget *widget ) : Event( s_strPartActivateEvent ), m_bActivated( activated ), m_part( part ), m_widget( widget ) {}
+ PartActivateEvent( bool activated, Part *part, TQWidget *widget ) : Event( s_strPartActivateEvent ), m_bActivated( activated ), m_part( part ), m_widget( widget ) {}
bool activated() const { return m_bActivated; }
Part *part() const { return m_part; }
- QWidget *widget() const { return m_widget; }
+ TQWidget *widget() const { return m_widget; }
- static bool test( const QEvent *event ) { return Event::test( event, s_strPartActivateEvent ); }
+ static bool test( const TQEvent *event ) { return Event::test( event, s_strPartActivateEvent ); }
private:
static const char *s_strPartActivateEvent;
bool m_bActivated;
Part *m_part;
- QWidget *m_widget;
+ TQWidget *m_widget;
};
/**
@@ -99,20 +99,20 @@ private:
class KPARTS_EXPORT PartSelectEvent : public Event
{
public:
- PartSelectEvent( bool selected, Part *part, QWidget *widget ) : Event( s_strPartSelectEvent ), m_bSelected( selected ), m_part( part ), m_widget( widget ) {}
+ PartSelectEvent( bool selected, Part *part, TQWidget *widget ) : Event( s_strPartSelectEvent ), m_bSelected( selected ), m_part( part ), m_widget( widget ) {}
bool selected() const { return m_bSelected; }
Part *part() const { return m_part; }
- QWidget *widget() const { return m_widget; }
+ TQWidget *widget() const { return m_widget; }
- static bool test( const QEvent *event ) { return Event::test( event, s_strPartSelectEvent ); }
+ static bool test( const TQEvent *event ) { return Event::test( event, s_strPartSelectEvent ); }
private:
static const char *s_strPartSelectEvent;
bool m_bSelected;
Part *m_part;
- QWidget *m_widget;
+ TQWidget *m_widget;
};
} // namespace