summaryrefslogtreecommitdiffstats
path: root/libkcal/vcaldrag.cpp
diff options
context:
space:
mode:
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 );