summaryrefslogtreecommitdiffstats
path: root/kate/plugins/autobookmarker/autobookmarker.h
diff options
context:
space:
mode:
Diffstat (limited to 'kate/plugins/autobookmarker/autobookmarker.h')
-rw-r--r--kate/plugins/autobookmarker/autobookmarker.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kate/plugins/autobookmarker/autobookmarker.h b/kate/plugins/autobookmarker/autobookmarker.h
index 188c8a360..bdeb2abcf 100644
--- a/kate/plugins/autobookmarker/autobookmarker.h
+++ b/kate/plugins/autobookmarker/autobookmarker.h
@@ -28,21 +28,21 @@
#include <kdialogbase.h>
-#include <qptrlist.h>
-#include <qvbox.h>
+#include <tqptrlist.h>
+#include <tqvbox.h>
class AutoBookmarkEnt
{
public:
enum REFlags { CaseSensitive=1, MinimalMatching=2 };
- AutoBookmarkEnt(const QString &p=QString::null,
- const QStringList &f=QStringList(),
- const QStringList &m=QStringList(),
+ AutoBookmarkEnt(const TQString &p=TQString::null,
+ const TQStringList &f=TQStringList(),
+ const TQStringList &m=TQStringList(),
int flags=1 );
~AutoBookmarkEnt(){};
- QString pattern;
- QStringList filemask;
- QStringList mimemask;
+ TQString pattern;
+ TQStringList filemask;
+ TQStringList mimemask;
int flags;
};
@@ -52,9 +52,9 @@ class AutoBookmarker
{
Q_OBJECT
public:
- AutoBookmarker( QObject *parent = 0,
+ AutoBookmarker( TQObject *parent = 0,
const char* name = 0,
- const QStringList &args = QStringList() );
+ const TQStringList &args = TQStringList() );
virtual ~AutoBookmarker() {};
void addView (KTextEditor::View *view);
@@ -62,10 +62,10 @@ class AutoBookmarker
// ConfigInterfaceExtention
uint configPages() const { return 1; };
- KTextEditor::ConfigPage * configPage( uint number, QWidget *parent, const char *name );
- QString configPageName( uint ) const;
- QString configPageFullName( uint ) const;
- QPixmap configPagePixmap( uint, int ) const;
+ KTextEditor::ConfigPage * configPage( uint number, TQWidget *parent, const char *name );
+ TQString configPageName( uint ) const;
+ TQString configPageFullName( uint ) const;
+ TQPixmap configPagePixmap( uint, int ) const;
bool abDone;
private slots:
@@ -73,8 +73,8 @@ class AutoBookmarker
void applyEntity( AutoBookmarkEnt *e );
};
-typedef QPtrList<AutoBookmarkEnt> ABEntityList;
-typedef QPtrListIterator<AutoBookmarkEnt> ABEntityListIterator;
+typedef TQPtrList<AutoBookmarkEnt> ABEntityList;
+typedef TQPtrListIterator<AutoBookmarkEnt> ABEntityListIterator;
/* singleton to keep the data */
class ABGlobal
@@ -98,7 +98,7 @@ class AutoBookmarkerConfigPage : public KTextEditor::ConfigPage
{
Q_OBJECT
public:
- AutoBookmarkerConfigPage( QWidget *parent, const char *name );
+ AutoBookmarkerConfigPage( TQWidget *parent, const char *name );
virtual ~AutoBookmarkerConfigPage() {};
virtual void apply();
@@ -112,7 +112,7 @@ class AutoBookmarkerConfigPage : public KTextEditor::ConfigPage
private:
class KListView *lvPatterns;
- class QPushButton *btnNew, *btnDel, *btnEdit;
+ class TQPushButton *btnNew, *btnDel, *btnEdit;
ABEntityList *m_ents;
};
@@ -120,17 +120,17 @@ class AutoBookmarkerEntEditor : public KDialogBase
{
Q_OBJECT
public:
- AutoBookmarkerEntEditor( QWidget *parent, AutoBookmarkEnt *e );
+ AutoBookmarkerEntEditor( TQWidget *parent, AutoBookmarkEnt *e );
~AutoBookmarkerEntEditor(){};
void apply();
private slots:
void showMTDlg();
- void slotPatternChanged( const QString& );
+ void slotPatternChanged( const TQString& );
private:
- class QLineEdit *lePattern, *leMimeTypes, *leFileMask;
- class QCheckBox *cbCS, *cbMM;
+ class TQLineEdit *lePattern, *leMimeTypes, *leFileMask;
+ class TQCheckBox *cbCS, *cbMM;
AutoBookmarkEnt *e;
};