diff options
Diffstat (limited to 'src/modules/addon/managementdialog.h')
-rw-r--r-- | src/modules/addon/managementdialog.h | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/src/modules/addon/managementdialog.h b/src/modules/addon/managementdialog.h index 0abbb4f9..a0ed1ad4 100644 --- a/src/modules/addon/managementdialog.h +++ b/src/modules/addon/managementdialog.h @@ -24,24 +24,24 @@ // //============================================================================= -#include <qdialog.h> +#include <tqdialog.h> #include "kvi_listview.h" #include "kvi_settings.h" -#include <qwidget.h> -#include <qlabel.h> -#include <qdialog.h> -#include <qcolor.h> +#include <tqwidget.h> +#include <tqlabel.h> +#include <tqdialog.h> +#include <tqcolor.h> #include "kvi_tal_listview.h" -class QPushButton; -class QPixmap; +class TQPushButton; +class TQPixmap; class KviKvsScriptAddon; #ifdef COMPILE_USE_QT4 - #include <QTextDocument> + #include <TQTextDocument> #else - #include <qsimplerichtext.h> + #include <tqsimplerichtext.h> #endif class KviScriptAddonListViewItem : public KviTalListViewItem @@ -52,54 +52,56 @@ public: protected: KviKvsScriptAddon * m_pAddon; #ifdef COMPILE_USE_QT4 - QTextDocument * m_pText; + TQTextDocument * m_pText; #else - QSimpleRichText * m_pText; + TQSimpleRichText * m_pText; #endif - QPixmap * m_pIcon; + TQPixmap * m_pIcon; KviTalListView * m_pListView; - QString m_szKey; + TQString m_szKey; public: KviKvsScriptAddon * addon(){ return m_pAddon; }; protected: - virtual QString key(int,bool) const; - virtual void paintCell(QPainter * p,const QColorGroup & cg,int column,int width,int align); + virtual TQString key(int,bool) const; + virtual void paintCell(TQPainter * p,const TQColorGroup & cg,int column,int width,int align); virtual void setup(); }; class KviScriptAddonListView : public KviListView { Q_OBJECT + TQ_OBJECT public: - KviScriptAddonListView(QWidget * pParent); + KviScriptAddonListView(TQWidget * pParent); ~KviScriptAddonListView(); protected: - virtual void resizeEvent(QResizeEvent * e); + virtual void resizeEvent(TQResizeEvent * e); }; -class KviScriptManagementDialog : public QDialog +class KviScriptManagementDialog : public TQDialog { Q_OBJECT + TQ_OBJECT protected: - KviScriptManagementDialog(QWidget * p); + KviScriptManagementDialog(TQWidget * p); public: ~KviScriptManagementDialog(); protected: KviScriptAddonListView * m_pListView; static KviScriptManagementDialog * m_pInstance; - QPushButton * m_pUninstallButton; - QPushButton * m_pConfigureButton; - QPushButton * m_pHelpButton; - QPushButton * m_pInstallButton; - QPushButton * m_pGetScriptsButton; + TQPushButton * m_pUninstallButton; + TQPushButton * m_pConfigureButton; + TQPushButton * m_pHelpButton; + TQPushButton * m_pInstallButton; + TQPushButton * m_pGetScriptsButton; public: static KviScriptManagementDialog * instance(){ return m_pInstance; }; static void display(); static void cleanup(); protected: void fillListView(); - virtual void showEvent(QShowEvent * e); - virtual void closeEvent(QCloseEvent *e); + virtual void showEvent(TQShowEvent * e); + virtual void closeEvent(TQCloseEvent *e); protected slots: void currentChanged(KviTalListViewItem *i); void closeClicked(); |