diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /libkonq/konq_events.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/konq_events.h')
-rw-r--r-- | libkonq/konq_events.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libkonq/konq_events.h b/libkonq/konq_events.h index b76469717..cade20d63 100644 --- a/libkonq/konq_events.h +++ b/libkonq/konq_events.h @@ -2,7 +2,7 @@ #define __konq_events_h__ #include <kparts/event.h> -#include <qptrlist.h> +#include <tqptrlist.h> #include <libkonq_export.h> namespace KParts @@ -12,7 +12,7 @@ namespace KParts class KConfig; class KFileItem; -typedef QPtrList<KFileItem> KFileItemList; +typedef TQPtrList<KFileItem> KFileItemList; class LIBKONQ_EXPORT KonqFileSelectionEvent : public KParts::Event { @@ -22,7 +22,7 @@ public: KFileItemList selection() const { return m_selection; } KParts::ReadOnlyPart *part() const { return m_part; } - static bool test( const QEvent *event ) { return KParts::Event::test( event, s_fileItemSelectionEventName ); } + static bool test( const TQEvent *event ) { return KParts::Event::test( event, s_fileItemSelectionEventName ); } private: static const char *s_fileItemSelectionEventName; @@ -39,7 +39,7 @@ public: const KFileItem* item() const { return m_item; } KParts::ReadOnlyPart *part() const { return m_part; } - static bool test( const QEvent *event ) { return KParts::Event::test( event, s_fileItemMouseOverEventName ); } + static bool test( const TQEvent *event ) { return KParts::Event::test( event, s_fileItemMouseOverEventName ); } private: static const char *s_fileItemMouseOverEventName; @@ -51,19 +51,19 @@ private: class LIBKONQ_EXPORT KonqConfigEvent : public KParts::Event { public: - KonqConfigEvent( KConfig *config, const QString &prefix, bool save ) : KParts::Event( s_configEventName ), m_config( config ), m_prefix( prefix ), m_save( save ) {} + KonqConfigEvent( KConfig *config, const TQString &prefix, bool save ) : KParts::Event( s_configEventName ), m_config( config ), m_prefix( prefix ), m_save( save ) {} KConfig * config() const { return m_config; } - QString prefix() const { return m_prefix; } + TQString prefix() const { return m_prefix; } bool save() const { return m_save; } - static bool test( const QEvent *event ) { return KParts::Event::test( event, s_configEventName ); } + static bool test( const TQEvent *event ) { return KParts::Event::test( event, s_configEventName ); } private: static const char *s_configEventName; KConfig *m_config; - QString m_prefix; + TQString m_prefix; bool m_save; }; |