diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/sounddlg.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/sounddlg.h')
-rw-r--r-- | kalarm/sounddlg.h | 38 |
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 }; |