diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/icaldrag.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/icaldrag.cpp')
-rw-r--r-- | libkcal/icaldrag.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libkcal/icaldrag.cpp b/libkcal/icaldrag.cpp index ad7e9549c..39315f5a6 100644 --- a/libkcal/icaldrag.cpp +++ b/libkcal/icaldrag.cpp @@ -28,27 +28,27 @@ using namespace KCal; -ICalDrag::ICalDrag( Calendar *cal, QWidget *parent, const char *name ) - : QStoredDrag( "text/calendar", parent, name ) +ICalDrag::ICalDrag( Calendar *cal, TQWidget *parent, const char *name ) + : TQStoredDrag( "text/calendar", parent, name ) { ICalFormat icf; - QString scal = icf.toString( cal ); + TQString scal = icf.toString( cal ); setEncodedData( scal.utf8() ); } -bool ICalDrag::canDecode( QMimeSource *me ) +bool ICalDrag::canDecode( TQMimeSource *me ) { return me->provides( "text/calendar" ); } -bool ICalDrag::decode( QMimeSource *de, Calendar *cal ) +bool ICalDrag::decode( TQMimeSource *de, Calendar *cal ) { bool success = false; - QByteArray payload = de->encodedData( "text/calendar" ); + TQByteArray payload = de->encodedData( "text/calendar" ); if ( payload.size() ) { - QString txt = QString::fromUtf8( payload.data() ); + TQString txt = TQString::fromUtf8( payload.data() ); ICalFormat icf; success = icf.fromString( cal, txt ); |