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/vcaldrag.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libkcal/vcaldrag.cpp') diff --git a/libkcal/vcaldrag.cpp b/libkcal/vcaldrag.cpp index bbcc2447e..9bcfdb8d4 100644 --- a/libkcal/vcaldrag.cpp +++ b/libkcal/vcaldrag.cpp @@ -26,25 +26,25 @@ using namespace KCal; -VCalDrag::VCalDrag( Calendar *cal, QWidget *parent, const char *name ) - : QStoredDrag( "text/x-vCalendar", parent, name ) +VCalDrag::VCalDrag( Calendar *cal, TQWidget *parent, const char *name ) + : TQStoredDrag( "text/x-vCalendar", parent, name ) { VCalFormat format; setEncodedData( format.toString( cal ).utf8() ); } -bool VCalDrag::canDecode( QMimeSource *me ) +bool VCalDrag::canDecode( TQMimeSource *me ) { return me->provides( "text/x-vCalendar" ); } -bool VCalDrag::decode( QMimeSource *de, Calendar *cal ) +bool VCalDrag::decode( TQMimeSource *de, Calendar *cal ) { bool success = false; - QByteArray payload = de->encodedData( "text/x-vCalendar" ); + TQByteArray payload = de->encodedData( "text/x-vCalendar" ); if ( payload.size() ) { - QString txt = QString::fromUtf8( payload.data() ); + TQString txt = TQString::fromUtf8( payload.data() ); VCalFormat format; success = format.fromString( cal, txt ); -- cgit v1.2.1