summaryrefslogtreecommitdiffstats
path: root/kalarm/dcophandler.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 /kalarm/dcophandler.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 'kalarm/dcophandler.h')
-rw-r--r--kalarm/dcophandler.h92
1 files changed, 46 insertions, 46 deletions
diff --git a/kalarm/dcophandler.h b/kalarm/dcophandler.h
index 1ea6f05e5..f14f4cda7 100644
--- a/kalarm/dcophandler.h
+++ b/kalarm/dcophandler.h
@@ -21,86 +21,86 @@
#ifndef DCOPHANDLER_H
#define DCOPHANDLER_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <dcopobject.h>
#include "datetime.h"
#include "kalarmiface.h"
-class DcopHandler : public QWidget, virtual public KAlarmIface
+class DcopHandler : public TQWidget, virtual public KAlarmIface
{
public:
DcopHandler();
- virtual bool cancelEvent(const QString& url,const QString& eventId);
- virtual bool triggerEvent(const QString& url,const QString& eventId);
+ virtual bool cancelEvent(const TQString& url,const TQString& eventId);
+ virtual bool triggerEvent(const TQString& url,const TQString& eventId);
- virtual bool scheduleMessage(const QString& message, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& bgColor, const QString& fgColor, const QString& font,
- const KURL& audioFile, int reminderMins, const QString& recurrence,
+ virtual bool scheduleMessage(const TQString& message, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& bgColor, const TQString& fgColor, const TQString& font,
+ const KURL& audioFile, int reminderMins, const TQString& recurrence,
int subRepeatInterval, int subRepeatCount);
- virtual bool scheduleMessage(const QString& message, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& bgColor, const QString& fgColor, const QString& font,
+ virtual bool scheduleMessage(const TQString& message, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& bgColor, const TQString& fgColor, const TQString& font,
const KURL& audioFile, int reminderMins, int recurType, int recurInterval, int recurCount);
- virtual bool scheduleMessage(const QString& message, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& bgColor, const QString& fgColor, const QString& font,
- const KURL& audioFile, int reminderMins, int recurType, int recurInterval, const QString& endDateTime);
- virtual bool scheduleFile(const KURL& file, const QString& startDateTime, int lateCancel, unsigned flags, const QString& bgColor,
- const KURL& audioFile, int reminderMins, const QString& recurrence,
+ virtual bool scheduleMessage(const TQString& message, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& bgColor, const TQString& fgColor, const TQString& font,
+ const KURL& audioFile, int reminderMins, int recurType, int recurInterval, const TQString& endDateTime);
+ virtual bool scheduleFile(const KURL& file, const TQString& startDateTime, int lateCancel, unsigned flags, const TQString& bgColor,
+ const KURL& audioFile, int reminderMins, const TQString& recurrence,
int subRepeatInterval, int subRepeatCount);
- virtual bool scheduleFile(const KURL& file, const QString& startDateTime, int lateCancel, unsigned flags, const QString& bgColor,
+ virtual bool scheduleFile(const KURL& file, const TQString& startDateTime, int lateCancel, unsigned flags, const TQString& bgColor,
const KURL& audioFile, int reminderMins, int recurType, int recurInterval, int recurCount);
- virtual bool scheduleFile(const KURL& file, const QString& startDateTime, int lateCancel, unsigned flags, const QString& bgColor,
- const KURL& audioFile, int reminderMins, int recurType, int recurInterval, const QString& endDateTime);
- virtual bool scheduleCommand(const QString& commandLine, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& recurrence, int subRepeatInterval, int subRepeatCount);
- virtual bool scheduleCommand(const QString& commandLine, const QString& startDateTime, int lateCancel, unsigned flags,
+ virtual bool scheduleFile(const KURL& file, const TQString& startDateTime, int lateCancel, unsigned flags, const TQString& bgColor,
+ const KURL& audioFile, int reminderMins, int recurType, int recurInterval, const TQString& endDateTime);
+ virtual bool scheduleCommand(const TQString& commandLine, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& recurrence, int subRepeatInterval, int subRepeatCount);
+ virtual bool scheduleCommand(const TQString& commandLine, const TQString& startDateTime, int lateCancel, unsigned flags,
int recurType, int recurInterval, int recurCount);
- virtual bool scheduleCommand(const QString& commandLine, const QString& startDateTime, int lateCancel, unsigned flags,
- int recurType, int recurInterval, const QString& endDateTime);
- virtual bool scheduleEmail(const QString& fromID, const QString& addresses, const QString& subject, const QString& message,
- const QString& attachments, const QString& startDateTime, int lateCancel, unsigned flags,
- const QString& recurrence, int recurInterval, int recurCount);
- virtual bool scheduleEmail(const QString& fromID, const QString& addresses, const QString& subject, const QString& message,
- const QString& attachments, const QString& startDateTime, int lateCancel, unsigned flags,
+ virtual bool scheduleCommand(const TQString& commandLine, const TQString& startDateTime, int lateCancel, unsigned flags,
+ int recurType, int recurInterval, const TQString& endDateTime);
+ virtual bool scheduleEmail(const TQString& fromID, const TQString& addresses, const TQString& subject, const TQString& message,
+ const TQString& attachments, const TQString& startDateTime, int lateCancel, unsigned flags,
+ const TQString& recurrence, int recurInterval, int recurCount);
+ virtual bool scheduleEmail(const TQString& fromID, const TQString& addresses, const TQString& subject, const TQString& message,
+ const TQString& attachments, const TQString& startDateTime, int lateCancel, unsigned flags,
int recurType, int recurInterval, int recurCount);
- virtual bool scheduleEmail(const QString& fromID, const QString& addresses, const QString& subject, const QString& message,
- const QString& attachments, const QString& startDateTime, int lateCancel, unsigned flags,
- int recurType, int recurInterval, const QString& endDateTime);
- virtual bool edit(const QString& eventID);
- virtual bool editNew(const QString& templateName);
+ virtual bool scheduleEmail(const TQString& fromID, const TQString& addresses, const TQString& subject, const TQString& message,
+ const TQString& attachments, const TQString& startDateTime, int lateCancel, unsigned flags,
+ int recurType, int recurInterval, const TQString& endDateTime);
+ virtual bool edit(const TQString& eventID);
+ virtual bool editNew(const TQString& templateName);
private:
- static bool scheduleMessage(const QString& message, const DateTime& start, int lateCancel, unsigned flags,
- const QString& bgColor, const QString& fgColor, const QString& fontStr,
+ static bool scheduleMessage(const TQString& message, const DateTime& start, int lateCancel, unsigned flags,
+ const TQString& bgColor, const TQString& fgColor, const TQString& fontStr,
const KURL& audioFile, int reminderMins, const KARecurrence&,
int subRepeatInterval = 0, int subRepeatCount = 0);
- static bool scheduleFile(const KURL& file, const DateTime& start, int lateCancel, unsigned flags, const QString& bgColor,
+ static bool scheduleFile(const KURL& file, const DateTime& start, int lateCancel, unsigned flags, const TQString& bgColor,
const KURL& audioFile, int reminderMins, const KARecurrence&,
int subRepeatInterval = 0, int subRepeatCount = 0);
- static bool scheduleCommand(const QString& commandLine, const DateTime& start, int lateCancel, unsigned flags,
+ static bool scheduleCommand(const TQString& commandLine, const DateTime& start, int lateCancel, unsigned flags,
const KARecurrence&, int subRepeatInterval = 0, int subRepeatCount = 0);
- static bool scheduleEmail(const QString& fromID, const QString& addresses, const QString& subject, const QString& message,
- const QString& attachments, const DateTime& start, int lateCancel, unsigned flags,
+ static bool scheduleEmail(const TQString& fromID, const TQString& addresses, const TQString& subject, const TQString& message,
+ const TQString& attachments, const DateTime& start, int lateCancel, unsigned flags,
const KARecurrence&, int subRepeatInterval = 0, int subRepeatCount = 0);
- static DateTime convertStartDateTime(const QString& startDateTime);
+ static DateTime convertStartDateTime(const TQString& startDateTime);
static unsigned convertStartFlags(const DateTime& start, unsigned flags);
- static QColor convertBgColour(const QString& bgColor);
- static bool convertRecurrence(DateTime& start, KARecurrence&, const QString& startDateTime, const QString& icalRecurrence, int& subRepeatInterval);
- static bool convertRecurrence(DateTime& start, KARecurrence&, const QString& startDateTime, int recurType, int recurInterval, int recurCount);
- static bool convertRecurrence(DateTime& start, KARecurrence&, const QString& startDateTime, int recurType, int recurInterval, const QString& endDateTime);
- static bool convertRecurrence(KARecurrence&, const DateTime& start, int recurType, int recurInterval, int recurCount, const QDateTime& end);
+ static TQColor convertBgColour(const TQString& bgColor);
+ static bool convertRecurrence(DateTime& start, KARecurrence&, const TQString& startDateTime, const TQString& icalRecurrence, int& subRepeatInterval);
+ static bool convertRecurrence(DateTime& start, KARecurrence&, const TQString& startDateTime, int recurType, int recurInterval, int recurCount);
+ static bool convertRecurrence(DateTime& start, KARecurrence&, const TQString& startDateTime, int recurType, int recurInterval, const TQString& endDateTime);
+ static bool convertRecurrence(KARecurrence&, const DateTime& start, int recurType, int recurInterval, int recurCount, const TQDateTime& end);
};
#ifdef OLD_DCOP
-class DcopHandlerOld : public QWidget, public DCOPObject
+class DcopHandlerOld : public TQWidget, public DCOPObject
{
Q_OBJECT
public:
DcopHandlerOld();
~DcopHandlerOld() { }
- virtual bool process(const QCString& func, const QByteArray& data, QCString& replyType, QByteArray& replyData);
+ virtual bool process(const TQCString& func, const TQByteArray& data, TQCString& replyType, TQByteArray& replyData);
};
#endif