summaryrefslogtreecommitdiffstats
path: root/languages/php/phperrorview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/php/phperrorview.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};