diff options
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 ); |