From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/sounddlg.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kalarm/sounddlg.h') 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 -#include +#include +#include #include 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 }; -- cgit v1.2.1