diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kspread/kspread_events.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/kspread_events.h')
-rw-r--r-- | kspread/kspread_events.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kspread/kspread_events.h b/kspread/kspread_events.h index f573d843..1a240fdb 100644 --- a/kspread/kspread_events.h +++ b/kspread/kspread_events.h @@ -1,9 +1,9 @@ #ifndef KSPREAD_EVENTS #define KSPREAD_EVENTS -#include <qevent.h> -#include <qrect.h> -#include <qstring.h> +#include <tqevent.h> +#include <tqrect.h> +#include <tqstring.h> #include <string.h> @@ -17,18 +17,18 @@ namespace KSpread class KSPREAD_EXPORT SelectionChanged : public KParts::Event { public: - SelectionChanged( const Region&, const QString& sheet ); + SelectionChanged( const Region&, const TQString& sheet ); ~SelectionChanged(); Region region() const { return m_region; } - QString sheet() const { return m_sheet; } + TQString sheet() const { return m_sheet; } - static bool test( const QEvent* e ) { return KParts::Event::test( e, s_strSelectionChanged ); } + static bool test( const TQEvent* e ) { return KParts::Event::test( e, s_strSelectionChanged ); } private: static const char *s_strSelectionChanged; Region m_region; - QString m_sheet; + TQString m_sheet; }; } // namespace KSpread |