summaryrefslogtreecommitdiffstats
path: root/kate/filetemplates/plugin/filetemplates.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kate/filetemplates/plugin/filetemplates.h
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/filetemplates/plugin/filetemplates.h')
-rw-r--r--kate/filetemplates/plugin/filetemplates.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kate/filetemplates/plugin/filetemplates.h b/kate/filetemplates/plugin/filetemplates.h
index 0eedc38..11734d5 100644
--- a/kate/filetemplates/plugin/filetemplates.h
+++ b/kate/filetemplates/plugin/filetemplates.h
@@ -34,7 +34,7 @@
#include <kurl.h>
#include <kwizard.h>
-#include <qptrlist.h>
+#include <tqptrlist.h>
class KatePluginFactory : public KLibFactory
{
@@ -44,7 +44,7 @@ class KatePluginFactory : public KLibFactory
KatePluginFactory();
virtual ~KatePluginFactory();
- virtual QObject* createObject( QObject* parent = 0, const char* pname = 0, const char* name = "QObject", const QStringList &args = QStringList() );
+ virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0, const char* name = "TQObject", const TQStringList &args = TQStringList() );
private:
static KInstance* s_instance;
@@ -75,7 +75,7 @@ class KateFileTemplates : public Kate::Plugin, public Kate::PluginViewInterface
Q_OBJECT
public:
- KateFileTemplates( QObject* parent = 0, const char* name = 0 );
+ KateFileTemplates( TQObject* parent = 0, const char* name = 0 );
virtual ~KateFileTemplates();
void addView (Kate::MainWindow *win);
@@ -84,12 +84,12 @@ class KateFileTemplates : public Kate::Plugin, public Kate::PluginViewInterface
/**
* @return a list of unique group names in the template list.
*/
- QStringList groups();
+ TQStringList groups();
/**
* @return a pointer to the templateinfo collection
*/
- QPtrList<class TemplateInfo> templates() { return m_templates; }
+ TQPtrList<class TemplateInfo> templates() { return m_templates; }
/**
* @return a pointer to the templateInfo for the template at @p index
@@ -100,14 +100,14 @@ class KateFileTemplates : public Kate::Plugin, public Kate::PluginViewInterface
/**
* @return a a pointer to the active main window
*/
- QWidget * parentWindow();
+ TQWidget * parentWindow();
public slots:
/**
* Update the template collection by rereading the template
* directories. Also updates the menu.
*/
- void updateTemplateDirs(const QString &s=QString::null);
+ void updateTemplateDirs(const TQString &s=TQString::null);
private slots:
/**
@@ -137,12 +137,12 @@ class KateFileTemplates : public Kate::Plugin, public Kate::PluginViewInterface
void slotCreateTemplate();
private:
- void refreshMenu( class PluginView */*class QPopupMenu **/ );
+ void refreshMenu( class PluginView */*class TQPopupMenu **/ );
- QPtrList<class PluginView> m_views;
+ TQPtrList<class PluginView> m_views;
class KActionCollection *m_actionCollection;
class KRecentFilesAction *m_acRecentTemplates;
- QPtrList<class TemplateInfo> m_templates;
+ TQPtrList<class TemplateInfo> m_templates;
class KDirWatch *m_dw;
class KUser *m_user;
class KConfig *m_emailstuff;
@@ -158,14 +158,14 @@ class KateTemplateInfoWidget : public QWidget
{
Q_OBJECT
public:
- KateTemplateInfoWidget( QWidget *parent=0, TemplateInfo *info=0, KateFileTemplates *kft=0 );
+ KateTemplateInfoWidget( TQWidget *parent=0, TemplateInfo *info=0, KateFileTemplates *kft=0 );
~KateTemplateInfoWidget() {}
TemplateInfo *info;
- class QLineEdit *leTemplate, *leDocumentName, *leDescription, *leAuthor;
- class QComboBox *cmbGroup;
- class QPushButton *btnHighlight;
+ class TQLineEdit *leTemplate, *leDocumentName, *leDescription, *leAuthor;
+ class TQComboBox *cmbGroup;
+ class TQPushButton *btnHighlight;
class KIconButton *ibIcon;
private slots:
@@ -192,7 +192,7 @@ class KateTemplateWizard : public KWizard
friend class KateFileTemplates;
Q_OBJECT
public:
- KateTemplateWizard( QWidget* parent, KateFileTemplates *ktf );
+ KateTemplateWizard( TQWidget* parent, KateFileTemplates *ktf );
~KateTemplateWizard() {}
public slots:
@@ -202,36 +202,36 @@ class KateTemplateWizard : public KWizard
void slotTmplateSet( int );
void slotStateChanged();
void slotStateChanged( int ) { slotStateChanged(); }
- void slotStateChanged( const QString& ) { slotStateChanged(); }
+ void slotStateChanged( const TQString& ) { slotStateChanged(); }
private:
KateFileTemplates *kft;
KateTemplateInfoWidget *kti;
// origin page
- class QButtonGroup *bgOrigin;
+ class TQButtonGroup *bgOrigin;
class KURLRequester *urOrigin;
- class QPushButton *btnTmpl;
+ class TQPushButton *btnTmpl;
uint selectedTemplateIdx;
// location page
- class QButtonGroup *bgLocation;
+ class TQButtonGroup *bgLocation;
class KURLRequester *urLocation;
- class QLineEdit *leTemplateFileName;
+ class TQLineEdit *leTemplateFileName;
// macro replacement page
- class QCheckBox *cbRRealname, *cbRUsername, *cbREmail;
- QString sFullname, sEmail/*, sUsername*/;
+ class TQCheckBox *cbRRealname, *cbRUsername, *cbREmail;
+ TQString sFullname, sEmail/*, sUsername*/;
// final
- class QCheckBox *cbOpenTemplate;
+ class TQCheckBox *cbOpenTemplate;
};
class KateTemplateManager : public QWidget
{
Q_OBJECT
public:
- KateTemplateManager( KateFileTemplates *kft=0, QWidget *parent=0, const char *name=0 );
+ KateTemplateManager( KateFileTemplates *kft=0, TQWidget *parent=0, const char *name=0 );
~KateTemplateManager() {}
public slots:
@@ -248,9 +248,9 @@ class KateTemplateManager : public QWidget
private:
class KListView *lvTemplates;
- class QPushButton *btnNew, *btnEdit, *btnRemove, *btnDownload, *btnUpload;
+ class TQPushButton *btnNew, *btnEdit, *btnRemove, *btnDownload, *btnUpload;
KateFileTemplates *kft;
- QPtrList<class TemplateInfo> *remove;
+ TQPtrList<class TemplateInfo> *remove;
};