summaryrefslogtreecommitdiffstats
path: root/languages/kjssupport/kjsproblems.cpp
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/kjssupport/kjsproblems.cpp
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/kjssupport/kjsproblems.cpp')
-rw-r--r--languages/kjssupport/kjsproblems.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/kjssupport/kjsproblems.cpp b/languages/kjssupport/kjsproblems.cpp
index 20951af4..31882e7c 100644
--- a/languages/kjssupport/kjsproblems.cpp
+++ b/languages/kjssupport/kjsproblems.cpp
@@ -23,17 +23,17 @@
class KJSProblemItem: public KListViewItem
{
public:
- KJSProblemItem( QListView* parent, const QString& level, const QString& problem,
- const QString& file, const QString& line, const QString& column )
+ KJSProblemItem( TQListView* parent, const TQString& level, const TQString& problem,
+ const TQString& file, const TQString& line, const TQString& column )
: KListViewItem( parent, level, problem, file, line, column )
{}
- KJSProblemItem( QListViewItem* parent, const QString& level, const QString& problem,
- const QString& file, const QString& line, const QString& column )
+ KJSProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem,
+ const TQString& file, const TQString& line, const TQString& column )
: KListViewItem( parent, level, problem, file, line, column )
{}
- int compare( QListViewItem* item, int column, bool ascending ) const
+ int compare( TQListViewItem* item, int column, bool ascending ) const
{
if( column == 2 || column == 3 )
{
@@ -48,7 +48,7 @@ class KJSProblemItem: public KListViewItem
};
-KJSProblems::KJSProblems(kjsSupportPart *part, QWidget *parent, const char *name) : KListView(parent,name), m_part(part)
+KJSProblems::KJSProblems(kjsSupportPart *part, TQWidget *parent, const char *name) : KListView(parent,name), m_part(part)
{
addColumn ("File");
addColumn ("Line #");
@@ -68,9 +68,9 @@ void KJSProblems::clearItems()
setIcon( SmallIcon("info") );
}
-void KJSProblems::addLine(const QString &file, int lineNo, const QString &message)
+void KJSProblems::addLine(const TQString &file, int lineNo, const TQString &message)
{
- new QListViewItem( this, file, QString::number( lineNo ), message);
+ new TQListViewItem( this, file, TQString::number( lineNo ), message);
setIcon( SmallIcon("error") );
}