33
34
class QResizeEvent;
36
/******************************************************************/
38
/******************************************************************/
40
class EffectDia : public QDialog
39
class KPresenterSoundPlayer;
42
class EffectDia : public KDialogBase
47
EffectDia( QWidget* parent, const char*, const QPtrList<KPObject> &_objs,
46
// constructor - destructor
47
EffectDia( QWidget* parent, const char*, const QList<KPObject> &_objs,
51
53
void resizeEvent( QResizeEvent *e );
55
QString getSoundFileFilter() const;
53
57
QComboBox *cEffect, *cEffect2, *cDisappear;
54
58
QLabel *lEffect, *lEffect2, *lNum, *lDisappear, *lDEffect;
55
59
QSpinBox *eNum,*eDisappear;
56
QPushButton *cancelBut, *okBut;
57
60
QCheckBox *disappear;
58
61
QBoxLayout *topLayout;
62
KIntNumInput *timerOfAppear, *timerOfDisappear;
64
QCheckBox *appearSoundEffect, *disappearSoundEffect;
65
QLabel *lSoundEffect1, *lSoundEffect2;
66
KURLRequester *requester1, *requester2;
67
QPushButton *buttonTestPlaySoundEffect1, *buttonTestStopSoundEffect1;
68
QPushButton *buttonTestPlaySoundEffect2, *buttonTestStopSoundEffect2;
70
KPresenterSoundPlayer *soundPlayer1, *soundPlayer2;
60
72
KPresenterView *view;
73
QPtrList<KPObject> objs;
64
76
void slotEffectDiaOk();
67
79
void disappearChanged();
68
void num1Changed( int num );
69
void num2Changed( int num );
80
void appearEffectChanged( int num );
81
void disappearEffectChanged( int num );
82
void appearSoundEffectChanged();
83
void disappearSoundEffectChanged();
84
void slotRequesterClicked( KURLRequester * );
85
void slotAppearFileChanged( const QString& );
86
void slotDisappearFileChanged( const QString& );