summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrCustomSlideShowDia.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrCustomSlideShowDia.h')
-rw-r--r--kpresenter/KPrCustomSlideShowDia.h68
1 files changed, 35 insertions, 33 deletions
diff --git a/kpresenter/KPrCustomSlideShowDia.h b/kpresenter/KPrCustomSlideShowDia.h
index 203405bd..94e6bf2a 100644
--- a/kpresenter/KPrCustomSlideShowDia.h
+++ b/kpresenter/KPrCustomSlideShowDia.h
@@ -21,27 +21,28 @@
#define __CUSTOM_SLIDE_SHOW__
#include <kdialogbase.h>
-#include <qlistbox.h>
+#include <tqlistbox.h>
#include "global.h"
-class QLineEdit;
-class QPushButton;
+class TQLineEdit;
+class TQPushButton;
class KPrDocument;
-class QToolButton;
+class TQToolButton;
class KPrView;
class KPrPage;
class KPrCustomSlideShowDia : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
KPrCustomSlideShowDia( KPrView* _view, KPrDocument *_doc, const char* name );
~KPrCustomSlideShowDia();
public slots:
virtual void slotOk();
- void slotDoubleClicked(QListBoxItem *);
- void slotTextClicked(QListBoxItem*);
+ void slotDoubleClicked(TQListBoxItem *);
+ void slotTextClicked(TQListBoxItem*);
void slotRemove();
void slotAdd();
void slotModify();
@@ -50,31 +51,31 @@ public slots:
void slotPresentationFinished();
protected:
- void hideEvent( QHideEvent* );
+ void hideEvent( TQHideEvent* );
void init();
void updateButton();
- bool uniqueName( int val, const QString & name ) const;
-
- QListBox * list;
- QPushButton* m_pRemove;
- QPushButton* m_pAdd;
- QPushButton* m_pModify;
- QPushButton* m_pCopy;
- QPushButton* m_pTest;
+ bool uniqueName( int val, const TQString & name ) const;
+
+ TQListBox * list;
+ TQPushButton* m_pRemove;
+ TQPushButton* m_pAdd;
+ TQPushButton* m_pModify;
+ TQPushButton* m_pCopy;
+ TQPushButton* m_pTest;
bool m_bChanged;
KPrDocument *m_doc;
KPrView *m_view;
CustomSlideShowMap m_customSlideShowMap;
- QStringList listPageName;
+ TQStringList listPageName;
};
-class KPrCustomSlideShowItem : public QListBoxText
+class KPrCustomSlideShowItem : public TQListBoxText
{
public:
- KPrCustomSlideShowItem( QListBox * listbox, KPrPage * page );
+ KPrCustomSlideShowItem( TQListBox * listbox, KPrPage * page );
KPrCustomSlideShowItem( KPrPage * page );
- KPrCustomSlideShowItem( QListBox * listbox, KPrPage * page, QListBoxItem * after );
+ KPrCustomSlideShowItem( TQListBox * listbox, KPrPage * page, TQListBoxItem * after );
KPrPage * getPage() { return m_page; }
private:
@@ -84,33 +85,34 @@ private:
class KPrDefineCustomSlideShow : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrDefineCustomSlideShow( QWidget* parent, QStringList &_listNameSlideShow, const QPtrList<KPrPage> &pages, const char *name = 0L);
- KPrDefineCustomSlideShow( QWidget* parent, const QString &_customName, QStringList &_listNameSlideShow,
- const QPtrList<KPrPage> &pages, QValueList<KPrPage *> &customPages, const char* name = 0L );
+ KPrDefineCustomSlideShow( TQWidget* tqparent, TQStringList &_listNameSlideShow, const TQPtrList<KPrPage> &pages, const char *name = 0L);
+ KPrDefineCustomSlideShow( TQWidget* tqparent, const TQString &_customName, TQStringList &_listNameSlideShow,
+ const TQPtrList<KPrPage> &pages, TQValueList<KPrPage *> &customPages, const char* name = 0L );
- QString customSlideShowName() const;
- QValueList<KPrPage *> customSlides();
+ TQString customSlideShowName() const;
+ TQValueList<KPrPage *> customSlides();
protected slots:
void slotMoveUpSlide();
void slotMoveDownSlide();
void slotMoveRemoveSlide();
void slotMoveInsertSlide();
- void slideNameChanged( const QString & _name);
+ void slideNameChanged( const TQString & _name);
void updateButton();
virtual void slotOk();
protected:
void init();
- QStringList listNameCustomSlideShow;
- QListBox *listSlide;
- QListBox *listSlideShow;
- QToolButton *m_insertSlide;
- QToolButton *m_removeSlide;
- QToolButton *m_moveUpSlide;
- QToolButton *m_moveDownSlide;
- QLineEdit *m_name;
+ TQStringList listNameCustomSlideShow;
+ TQListBox *listSlide;
+ TQListBox *listSlideShow;
+ TQToolButton *m_insertSlide;
+ TQToolButton *m_removeSlide;
+ TQToolButton *m_moveUpSlide;
+ TQToolButton *m_moveDownSlide;
+ TQLineEdit *m_name;
};