From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/icaldrag.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libkcal/icaldrag.cpp') 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 ); -- cgit v1.2.1