45
48
/** The minimum value.
47
int minValue (void) const;
50
int minimum (void) const;
48
51
/** Sets the minimum value.
50
void setMinValue (int);
53
void setMinimum (int);
51
54
/** The maximum value.
53
int maxValue (void) const;
56
int maximum (void) const;
54
57
/** Sets the maximum value.
56
void setMaxValue (int);
59
int lineStep (void) const;
60
/** Sets the line step.
62
void setLineStep (int);
59
void setMaximum (int);
62
int singleStep (void) const;
63
/** Sets the single step.
65
void setSingleStep (int);
65
68
int pageStep (void) const;
76
79
/** Sets up the slider by setting five options in one go.
78
void setup (int minValue, int maxValue, int value, int pageStep, int lineStep = 1);
81
void setup (int minimum, int maximum, int value, int pageStep, int lineStep = 1);
79
82
/** Sets the slider orientation.
81
84
virtual void setOrientation (Qt::Orientation);
109
112
/** The KPlayerPopupFrame constructor. Parameters are passed on to QFrame.
111
KPlayerPopupFrame (QWidget* parent = 0, const char* name = 0)
112
: QFrame (parent, name, Qt::WType_Popup) { }
114
KPlayerPopupFrame (QWidget* parent = 0/*, const char* name = 0*/)
115
: QFrame (parent, Qt::WType_Popup) { }
113
116
/** The KPlayerPopupFrame destructor. Does nothing.
115
118
virtual ~KPlayerPopupFrame() { }
131
134
/** The KPlayerPopupSliderAction constructor. Parameters are passed on to KAction.
133
KPlayerPopupSliderAction (const QString& text, const QString& pix, const KShortcut& shortcut,
134
const QObject* receiver, const char* slot, QObject* parent = 0, const char* name = 0);
136
KPlayerPopupSliderAction (const QObject* receiver, const char* slot, QObject *parent);
135
137
/** The KPlayerPopupSliderAction destructor. Deletes the KPlayerPopupFrame.
137
139
virtual ~KPlayerPopupSliderAction();
163
165
/**Slider action suitable for insertion into a toolbar.
166
class KPlayerSliderAction : public KWidgetAction
171
/** The KPlayerSliderAction constructor. Parameters are passed on to KAction.
173
KPlayerSliderAction (const QString& text, const KShortcut&, const QObject* receiver,
174
const char* slot, KActionCollection* parent = 0, const char* name = 0);
175
/** The KPlayerSliderAction destructor. Does nothing.
177
virtual ~KPlayerSliderAction();
179
/** Returns a pointer to the KPlayerSlider object.
181
KPlayerSlider* slider (void)
182
{ return (KPlayerSlider*) widget(); }
184
/** Plugs the slider into the toolbar.
186
virtual int plug (QWidget* widget, int index = -1);
187
/** Unplugs the slider from the toolbar.
189
virtual void unplug (QWidget* widget);
192
/** Changes the slider orientation when the toolbar orientation changes.
194
void orientationChanged (Qt::Orientation);
199
//KPlayerSlider* m_slider;
168
// class KPlayerSliderAction : public KAction
173
// /** The KPlayerSliderAction constructor. Parameters are passed on to KAction.
175
// KPlayerSliderAction (const QString& text, const KShortcut&, const QObject* receiver,
176
// const char* slot, KActionCollection* parent = 0, const char* name = 0);
177
// /** The KPlayerSliderAction destructor. Does nothing.
179
// virtual ~KPlayerSliderAction();
181
// /** Returns a pointer to the KPlayerSlider object.
183
// KPlayerSlider* slider (QWidget* parent)
184
// { return m_slider; }
186
// /** Plugs the slider into the toolbar.
188
// // virtual int plug (QWidget* widget, int index = -1);
189
// /** Unplugs the slider from the toolbar.
191
// // virtual void unplug (QWidget* widget);
194
// /** Changes the slider orientation when the toolbar orientation changes.
196
// void orientationChanged (Qt::Orientation);
201
// KPlayerSlider* m_slider;