summaryrefslogtreecommitdiffstats
path: root/languages/php/phperrorview.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/php/phperrorview.h')
-rw-r--r--languages/php/phperrorview.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/languages/php/phperrorview.h b/languages/php/phperrorview.h
index bc8b0df5..aaf3f9f3 100644
--- a/languages/php/phperrorview.h
+++ b/languages/php/phperrorview.h
@@ -22,7 +22,7 @@
#include <klistview.h>
#include <klineedit.h>
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
#include "phpfile.h"
class PHPSupportPart;
@@ -54,36 +54,36 @@ enum Errors
Fixme = 5
};
-class PHPErrorView: public QWidget {
+class PHPErrorView: public TQWidget {
Q_OBJECT
public:
- PHPErrorView( PHPSupportPart* part, QWidget* parent=0, const char* name=0 );
+ PHPErrorView( PHPSupportPart* part, TQWidget* parent=0, const char* name=0 );
virtual ~PHPErrorView();
- void removeAllProblems( const QString& filename );
- void reportProblem( int level, const QString& fileName, int line, const QString& text);
+ void removeAllProblems( const TQString& filename );
+ void reportProblem( int level, const TQString& fileName, int line, const TQString& text);
private slots:
void slotPartAdded( KParts::Part* );
void slotPartRemoved( KParts::Part* );
void slotActivePartChanged( KParts::Part* );
- void slotSelected( QListViewItem* );
+ void slotSelected( TQListViewItem* );
void slotTabSelected( int tabindex );
void slotFilter();
private:
- QString levelToString( int level ) const;
+ TQString levelToString( int level ) const;
int levelToMarkType( int level ) const;
void InitListView(KListView* listview);
- void removeAllItems( QListView* listview, const QString& filename );
- void filterList(KListView* listview, const QString& level);
- void updateCurrentWith(QListView* listview, const QString& level, const QString& filename);
+ void removeAllItems( TQListView* listview, const TQString& filename );
+ void filterList(KListView* listview, const TQString& level);
+ void updateCurrentWith(TQListView* listview, const TQString& level, const TQString& filename);
void initCurrentList();
private:
- QGridLayout* m_gridLayout;
- QTabBar* m_tabBar;
- QWidgetStack* m_widgetStack;
+ TQGridLayout* m_gridLayout;
+ TQTabBar* m_tabBar;
+ TQWidgetStack* m_widgetStack;
KListView* m_currentList;
KListView* m_errorList;
KListView* m_fixmeList;
@@ -93,10 +93,10 @@ private:
KLineEdit* m_filterEdit;
PHPSupportPart* m_phpSupport;
- QGuardedPtr<KTextEditor::Document> m_document;
+ TQGuardedPtr<KTextEditor::Document> m_document;
KTextEditor::MarkInterface* m_markIface;
- QTimer* m_timer;
- QString m_fileName;
+ TQTimer* m_timer;
+ TQString m_fileName;
int m_active;
int m_delay;
};