summaryrefslogtreecommitdiffstats
path: root/kalarm/soundpicker.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/soundpicker.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/soundpicker.h')
-rw-r--r--kalarm/soundpicker.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kalarm/soundpicker.h b/kalarm/soundpicker.h
index a0a9b83cd..eaf0ec16b 100644
--- a/kalarm/soundpicker.h
+++ b/kalarm/soundpicker.h
@@ -30,9 +30,10 @@ class ComboBox;
class PushButton;
-class SoundPicker : public QFrame
+class SoundPicker : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
/** Sound options which can be selected for when the alarm is displayed.
* @li NONE - silence.
@@ -42,10 +43,10 @@ class SoundPicker : public QFrame
*/
enum Type { NONE = 0, BEEP, PLAY_FILE, SPEAK };
/** Constructor.
- * @param parent The parent object of this widget.
+ * @param tqparent The tqparent object of this widget.
* @param name The name of this widget.
*/
- explicit SoundPicker(TQWidget* parent, const char* name = 0);
+ explicit SoundPicker(TQWidget* tqparent, const char* name = 0);
/** Initialises the widget's state.
* @param type The option to select.
* @param filename The full path or URL of the sound file to select. If the 'file' option is
@@ -103,7 +104,7 @@ class SoundPicker : public QFrame
* If null, no file will be highlighted.
* @return URL selected, in human readable format. If none is selected, URL.isEmpty() is true.
*/
- static TQString browseFile(TQString& initialDir, const TQString& initialFile = TQString::null);
+ static TQString browseFile(TQString& initialDir, const TQString& initialFile = TQString());
static TQString i18n_Sound(); // plain text of Sound label
static TQString i18n_None(); // plain text of None combo box item