summaryrefslogtreecommitdiffstats
path: root/kalarm/messagewin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/messagewin.h')
-rw-r--r--kalarm/messagewin.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/kalarm/messagewin.h b/kalarm/messagewin.h
index 0a10b39c..d8f49ec4 100644
--- a/kalarm/messagewin.h
+++ b/kalarm/messagewin.h
@@ -23,7 +23,7 @@
/** @file messagewin.h - displays an alarm message */
-#include <qmap.h>
+#include <tqmap.h>
#include "mainwindowbase.h"
#include "alarmevent.h"
@@ -47,7 +47,7 @@ class MessageWin : public MainWindowBase
public:
MessageWin(); // for session management restoration only
MessageWin(const KAEvent&, const KAAlarm&, bool reschedule_event = true, bool allowDefer = true);
- MessageWin(const KAEvent&, const DateTime& alarmDateTime, const QStringList& errmsgs);
+ MessageWin(const KAEvent&, const DateTime& alarmDateTime, const TQStringList& errmsgs);
~MessageWin();
void repeat(const KAAlarm&);
void setRecreating() { mRecreating = true; }
@@ -56,15 +56,15 @@ class MessageWin : public MainWindowBase
bool hasDefer() const { return !!mDeferButton; }
bool isValid() const { return !mInvalid; }
virtual void show();
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
static int instanceCount() { return mWindowList.count(); }
- static MessageWin* findEvent(const QString& eventID);
+ static MessageWin* findEvent(const TQString& eventID);
protected:
- virtual void showEvent(QShowEvent*);
- virtual void moveEvent(QMoveEvent*);
- virtual void resizeEvent(QResizeEvent*);
- virtual void closeEvent(QCloseEvent*);
+ virtual void showEvent(TQShowEvent*);
+ virtual void moveEvent(TQMoveEvent*);
+ virtual void resizeEvent(TQResizeEvent*);
+ virtual void closeEvent(TQCloseEvent*);
virtual void saveProperties(KConfig*);
virtual void readProperties(KConfig*);
@@ -97,16 +97,16 @@ class MessageWin : public MainWindowBase
bool haveErrorMessage(unsigned msg) const;
void clearErrorMessage(unsigned msg) const;
- static QValueList<MessageWin*> mWindowList; // list of existing message windows
- static QMap<QString, unsigned> mErrorMessages; // error messages currently displayed, by event ID
+ static TQValueList<MessageWin*> mWindowList; // list of existing message windows
+ static TQMap<TQString, unsigned> mErrorMessages; // error messages currently displayed, by event ID
// Properties needed by readProperties()
- QString mMessage;
- QFont mFont;
- QColor mBgColour, mFgColour;
+ TQString mMessage;
+ TQFont mFont;
+ TQColor mBgColour, mFgColour;
DateTime mDateTime; // date/time displayed in the message window
- QDateTime mCloseTime; // time at which window should be auto-closed
- QString mEventID;
- QString mAudioFile;
+ TQDateTime mCloseTime; // time at which window should be auto-closed
+ TQString mEventID;
+ TQString mAudioFile;
float mVolume;
float mFadeVolume;
int mFadeSeconds;
@@ -114,7 +114,7 @@ class MessageWin : public MainWindowBase
KAAlarm::Type mAlarmType;
KAEvent::Action mAction;
unsigned long mKMailSerialNumber; // if email text, message's KMail serial number, else 0
- QStringList mErrorMsgs;
+ TQStringList mErrorMsgs;
int mRestoreHeight;
bool mAudioRepeat;
bool mConfirmAck;
@@ -124,27 +124,27 @@ class MessageWin : public MainWindowBase
// Sound file playing
KArtsDispatcher* mArtsDispatcher;
KDE::PlayObject* mPlayObject;
- QCString mKMixName; // DCOP name for KMix
- QString mKMixError; // error message starting KMix
- QTimer* mPlayTimer; // timer for repeating the sound file
- QTimer* mFadeTimer; // timer for fading the sound volume
+ TQCString mKMixName; // DCOP name for KMix
+ TQString mKMixError; // error message starting KMix
+ TQTimer* mPlayTimer; // timer for repeating the sound file
+ TQTimer* mFadeTimer; // timer for fading the sound volume
float mOldVolume; // volume before volume was set for sound file
- QString mLocalAudioFile; // local copy of audio file
- QTime mAudioFileStart; // time when audio file loading first started, or when play first started
+ TQString mLocalAudioFile; // local copy of audio file
+ TQTime mAudioFileStart; // time when audio file loading first started, or when play first started
int mAudioFileLoadSecs; // how many seconds it took to load audio file
bool mPlayedOnce; // the sound file has started playing at least once
bool mPlayed; // the PlayObject->play() has been called
// Miscellaneous
KAEvent mEvent; // the whole event, for updating the calendar file
- QLabel* mRemainingText; // the remaining time (for a reminder window)
+ TQLabel* mRemainingText; // the remaining time (for a reminder window)
KPushButton* mOkButton;
- QPushButton* mEditButton;
- QPushButton* mDeferButton;
- QPushButton* mSilenceButton;
- QPushButton* mKAlarmButton;
- QPushButton* mKMailButton;
+ TQPushButton* mEditButton;
+ TQPushButton* mDeferButton;
+ TQPushButton* mSilenceButton;
+ TQPushButton* mKAlarmButton;
+ TQPushButton* mKMailButton;
DeferAlarmDlg* mDeferDlg;
- QDateTime mDeferLimit; // last time to which the message can currently be deferred
+ TQDateTime mDeferLimit; // last time to which the message can currently be deferred
mutable KWinModule* mWinModule;
int mFlags;
int mLateCancel;