summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTransEffectDia.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrTransEffectDia.h')
-rw-r--r--kpresenter/KPrTransEffectDia.h56
1 files changed, 29 insertions, 27 deletions
diff --git a/kpresenter/KPrTransEffectDia.h b/kpresenter/KPrTransEffectDia.h
index 17d8f0ce..b6018d43 100644
--- a/kpresenter/KPrTransEffectDia.h
+++ b/kpresenter/KPrTransEffectDia.h
@@ -24,20 +24,20 @@
#define __TRANSEFFECTDIA_H
#include <kdialogbase.h>
-#include <qlabel.h>
-#include <qtimer.h>
+#include <tqlabel.h>
+#include <tqtimer.h>
#include "global.h"
class KPrDocument;
class KPrView;
-class QCheckBox;
-class QSplitter;
-class QLabel;
-class QPushButton;
-class QCheckBox;
-class QSlider;
-class QString;
-class QComboBox;
+class TQCheckBox;
+class TQSplitter;
+class TQLabel;
+class TQPushButton;
+class TQCheckBox;
+class TQSlider;
+class TQString;
+class TQComboBox;
class KPrBackGround;
class KPrObject;
class KPPresStructObjectItem;
@@ -46,24 +46,25 @@ class KIntNumInput;
class KPrSoundPlayer;
class KPrPageEffects;
-class KPrEffectPreview : public QLabel
+class KPrEffectPreview : public TQLabel
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrEffectPreview( QWidget *parent, KPrDocument *_doc, KPrView *_view );
+ KPrEffectPreview( TQWidget *tqparent, KPrDocument *_doc, KPrView *_view );
public slots:
- void setPixmap( const QPixmap& pixmap );
+ void setPixmap( const TQPixmap& pixmap );
void run( PageEffect effect, EffectSpeed speed );
protected:
KPrDocument *doc;
KPrView *view;
- QPixmap m_pixmap;
- QPixmap m_target;
+ TQPixmap m_pixmap;
+ TQPixmap m_target;
- QTimer m_pageEffectTimer;
+ TQTimer m_pageEffectTimer;
KPrPageEffects *m_pageEffect;
protected slots:
@@ -74,15 +75,16 @@ protected slots:
class KPrTransEffectDia: public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrTransEffectDia( QWidget *parent, const char *name,
+ KPrTransEffectDia( TQWidget *tqparent, const char *name,
KPrDocument *_doc, KPrView *_view );
PageEffect getPageEffect() const { return pageEffect; }
EffectSpeed getPageEffectSpeed() const { return speed; }
bool getSoundEffect() const { return soundEffect; }
- QString getSoundFileName() const { return soundFileName; }
+ TQString getSoundFileName() const { return soundFileName; }
bool getAutoAdvance() const { return false; } // FIXME !
int getSlideTime() const { return slideTime; }
@@ -99,20 +101,20 @@ protected:
PageEffect pageEffect;
EffectSpeed speed;
bool soundEffect;
- QString soundFileName;
+ TQString soundFileName;
KPrEffectPreview *effectPreview;
- QListBox *effectList;
- QComboBox *speedCombo;
+ TQListBox *effectList;
+ TQComboBox *speedCombo;
- QCheckBox *automaticPreview;
- QPushButton *previewButton;
+ TQCheckBox *automaticPreview;
+ TQPushButton *previewButton;
- QCheckBox *checkSoundEffect;
- QLabel *lSoundEffect;
+ TQCheckBox *checkSoundEffect;
+ TQLabel *lSoundEffect;
KURLRequester *requester;
- QPushButton *buttonTestPlaySoundEffect, *buttonTestStopSoundEffect;
+ TQPushButton *buttonTestPlaySoundEffect, *buttonTestStopSoundEffect;
KIntNumInput* timeSlider;
int slideTime;
@@ -130,7 +132,7 @@ protected slots:
void soundEffectChanged();
void slotRequesterClicked( KURLRequester * );
- void slotSoundFileChanged( const QString& );
+ void slotSoundFileChanged( const TQString& );
void playSound();
void stopSound();
};