summaryrefslogtreecommitdiffstats
path: root/korganizer/kcalendariface.h
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 /korganizer/kcalendariface.h
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 'korganizer/kcalendariface.h')
-rw-r--r--korganizer/kcalendariface.h104
1 files changed, 52 insertions, 52 deletions
diff --git a/korganizer/kcalendariface.h b/korganizer/kcalendariface.h
index c84281d7f..a63f3f1c7 100644
--- a/korganizer/kcalendariface.h
+++ b/korganizer/kcalendariface.h
@@ -26,14 +26,14 @@
*/
#include <dcopobject.h>
-#include <qdatetime.h>
-#include <qdatastream.h>
-#include <qstringlist.h>
+#include <tqdatetime.h>
+#include <tqdatastream.h>
+#include <tqstringlist.h>
// yes, this is this very header - but it tells dcopidl to include it
// in _stub.cpp and _skel.cpp files, to get the definition of the structs.
#include "kcalendariface.h"
-typedef QPair<QDateTime, QDateTime> QDateTimePair;
+typedef QPair<TQDateTime, TQDateTime> QDateTimePair;
/** Interface class for calendar requests. */
class KCalendarIface : public DCOPObject
@@ -49,71 +49,71 @@ class KCalendarIface : public DCOPObject
*/
struct ResourceRequestReply {
bool vCalInOK;
- QString vCalOut;
+ TQString vCalOut;
bool vCalOutOK; bool isFree;
- QDateTime start; QDateTime end;
+ TQDateTime start; TQDateTime end;
};
virtual KCalendarIface::ResourceRequestReply resourceRequest(
- const QValueList< QDateTimePair >& busy,
- const QCString& resource,
- const QString& vCalIn ) = 0;
-
- virtual void openEventEditor( const QString& text ) = 0;
- virtual void openEventEditor( const QString& summary,
- const QString& description,
- const QString& attachment ) = 0;
- virtual void openEventEditor( const QString& summary,
- const QString& description,
- const QString& attachment,
- const QStringList& attendees ) = 0;
- virtual void openEventEditor( const QString& summary,
- const QString& description,
- const QString& uri,
- const QString& file,
- const QStringList& attendees,
- const QString& attachmentMimetype ) = 0;
-
- virtual void openTodoEditor( const QString& text ) = 0;
- virtual void openTodoEditor( const QString& summary,
- const QString& description,
- const QString& attachment ) = 0;
- virtual void openTodoEditor( const QString& summary,
- const QString& description,
- const QString& attachment,
- const QStringList& attendees ) = 0;
- virtual void openTodoEditor( const QString& summary,
- const QString& description,
- const QString& uri,
- const QString& file,
- const QStringList& attendees,
- const QString& attachmentMimetype ) = 0;
-
- virtual void openJournalEditor( const QDate& date ) = 0;
- virtual void openJournalEditor( const QString& text,
- const QDate& date ) = 0;
- virtual void openJournalEditor( const QString& text ) = 0;
+ const TQValueList< QDateTimePair >& busy,
+ const TQCString& resource,
+ const TQString& vCalIn ) = 0;
+
+ virtual void openEventEditor( const TQString& text ) = 0;
+ virtual void openEventEditor( const TQString& summary,
+ const TQString& description,
+ const TQString& attachment ) = 0;
+ virtual void openEventEditor( const TQString& summary,
+ const TQString& description,
+ const TQString& attachment,
+ const TQStringList& attendees ) = 0;
+ virtual void openEventEditor( const TQString& summary,
+ const TQString& description,
+ const TQString& uri,
+ const TQString& file,
+ const TQStringList& attendees,
+ const TQString& attachmentMimetype ) = 0;
+
+ virtual void openTodoEditor( const TQString& text ) = 0;
+ virtual void openTodoEditor( const TQString& summary,
+ const TQString& description,
+ const TQString& attachment ) = 0;
+ virtual void openTodoEditor( const TQString& summary,
+ const TQString& description,
+ const TQString& attachment,
+ const TQStringList& attendees ) = 0;
+ virtual void openTodoEditor( const TQString& summary,
+ const TQString& description,
+ const TQString& uri,
+ const TQString& file,
+ const TQStringList& attendees,
+ const TQString& attachmentMimetype ) = 0;
+
+ virtual void openJournalEditor( const TQDate& date ) = 0;
+ virtual void openJournalEditor( const TQString& text,
+ const TQDate& date ) = 0;
+ virtual void openJournalEditor( const TQString& text ) = 0;
//TODO:
- // virtual void openJournalEditor( const QString& summary,
- // const QString& description,
- // const QString& attachment ) = 0;
+ // virtual void openJournalEditor( const TQString& summary,
+ // const TQString& description,
+ // const TQString& attachment ) = 0;
virtual void showJournalView() = 0;
virtual void showTodoView() = 0;
virtual void showEventView() = 0;
- virtual void goDate( const QDate& date ) = 0;
- virtual void goDate( const QString& date ) = 0;
+ virtual void goDate( const TQDate& date ) = 0;
+ virtual void goDate( const TQString& date ) = 0;
- virtual void showDate( const QDate &date ) = 0;
+ virtual void showDate( const TQDate &date ) = 0;
};
-inline QDataStream& operator<<( QDataStream& str, const KCalendarIface::ResourceRequestReply& reply )
+inline TQDataStream& operator<<( TQDataStream& str, const KCalendarIface::ResourceRequestReply& reply )
{
str << reply.vCalInOK << reply.vCalOut << reply.vCalOutOK << reply.isFree << reply.start << reply.end;
return str;
}
-inline QDataStream& operator>>( QDataStream& str, KCalendarIface::ResourceRequestReply& reply )
+inline TQDataStream& operator>>( TQDataStream& str, KCalendarIface::ResourceRequestReply& reply )
{
str >> reply.vCalInOK >> reply.vCalOut >> reply.vCalOutOK >> reply.isFree >> reply.start >> reply.end;
return str;