summaryrefslogtreecommitdiffstats
path: root/kalarm/sounddlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/sounddlg.h')
-rw-r--r--kalarm/sounddlg.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kalarm/sounddlg.h b/kalarm/sounddlg.h
index ee4273b5d..6bca01d16 100644
--- a/kalarm/sounddlg.h
+++ b/kalarm/sounddlg.h
@@ -21,8 +21,8 @@
#ifndef SOUNDDLG_H
#define SOUNDDLG_H
-#include <qframe.h>
-#include <qstring.h>
+#include <tqframe.h>
+#include <tqstring.h>
#include <kdialogbase.h>
class QHBox;
@@ -40,23 +40,23 @@ class SoundDlg : public KDialogBase
{
Q_OBJECT
public:
- SoundDlg(const QString& file, float volume, float fadeVolume, int fadeSeconds, bool repeat,
- const QString& caption, QWidget* parent, const char* name = 0);
+ SoundDlg(const TQString& file, float volume, float fadeVolume, int fadeSeconds, bool repeat,
+ const TQString& caption, TQWidget* parent, const char* name = 0);
~SoundDlg();
void setReadOnly(bool);
bool isReadOnly() const { return mReadOnly; }
- QString getFile() const { return mFileName; }
+ TQString getFile() const { return mFileName; }
bool getSettings(float& volume, float& fadeVolume, int& fadeSeconds) const;
- QString defaultDir() const { return mDefaultDir; }
+ TQString defaultDir() const { return mDefaultDir; }
- static QString i18n_SetVolume(); // plain text of Set volume checkbox
- static QString i18n_v_SetVolume(); // text of Set volume checkbox, with 'V' shortcut
- static QString i18n_Repeat(); // plain text of Repeat checkbox
- static QString i18n_p_Repeat(); // text of Repeat checkbox, with 'P' shortcut
+ static TQString i18n_SetVolume(); // plain text of Set volume checkbox
+ static TQString i18n_v_SetVolume(); // text of Set volume checkbox, with 'V' shortcut
+ static TQString i18n_Repeat(); // plain text of Repeat checkbox
+ static TQString i18n_p_Repeat(); // text of Repeat checkbox, with 'P' shortcut
protected:
- virtual void showEvent(QShowEvent*);
- virtual void resizeEvent(QResizeEvent*);
+ virtual void showEvent(TQShowEvent*);
+ virtual void resizeEvent(TQResizeEvent*);
protected slots:
virtual void slotOk();
@@ -72,25 +72,25 @@ class SoundDlg : public KDialogBase
void stopPlay();
bool checkFile();
- QPushButton* mFilePlay;
+ TQPushButton* mFilePlay;
LineEdit* mFileEdit;
PushButton* mFileBrowseButton;
CheckBox* mRepeatCheckbox;
CheckBox* mVolumeCheckbox;
Slider* mVolumeSlider;
CheckBox* mFadeCheckbox;
- QHBox* mFadeBox;
+ TQHBox* mFadeBox;
SpinBox* mFadeTime;
- QHBox* mFadeVolumeBox;
+ TQHBox* mFadeVolumeBox;
Slider* mFadeSlider;
- QString mDefaultDir; // current default directory for mFileEdit
- QString mFileName;
+ TQString mDefaultDir; // current default directory for mFileEdit
+ TQString mFileName;
bool mReadOnly;
// Sound file playing
KArtsDispatcher* mArtsDispatcher;
KDE::PlayObject* mPlayObject;
- QTimer* mPlayTimer; // timer for playing the sound file
- QString mLocalAudioFile; // local copy of audio file
+ TQTimer* mPlayTimer; // timer for playing the sound file
+ TQString mLocalAudioFile; // local copy of audio file
bool mPlayStarted; // the sound file has started playing
};