summaryrefslogtreecommitdiffstats
path: root/libkcal/vcaldrag.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/vcaldrag.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/vcaldrag.cpp')
-rw-r--r--libkcal/vcaldrag.cpp12
1 files changed, 6 insertions, 6 deletions
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 );