summaryrefslogtreecommitdiffstats
path: root/languages/cpp/problemreporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/problemreporter.cpp')
-rw-r--r--languages/cpp/problemreporter.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/cpp/problemreporter.cpp b/languages/cpp/problemreporter.cpp
index c7a8e9b6..32c078e1 100644
--- a/languages/cpp/problemreporter.cpp
+++ b/languages/cpp/problemreporter.cpp
@@ -57,14 +57,14 @@
class ProblemItem: public KListViewItem
{
public:
- ProblemItem( TQListView* parent, const TQString& problem,
+ ProblemItem( TQListView* tqparent, const TQString& problem,
const TQString& file, const TQString& line, const TQString& column )
- : KListViewItem( parent, problem, file, line, column )
+ : KListViewItem( tqparent, problem, file, line, column )
{}
- ProblemItem( TQListViewItem* parent, const TQString& problem,
+ ProblemItem( TQListViewItem* tqparent, const TQString& problem,
const TQString& file, const TQString& line, const TQString& column )
- : KListViewItem( parent, problem, file, line, column )
+ : KListViewItem( tqparent, problem, file, line, column )
{}
int compare( TQListViewItem* item, int column, bool ascending ) const
@@ -82,8 +82,8 @@ public:
};
-ProblemReporter::ProblemReporter( CppSupportPart* part, TQWidget* parent, const char* name )
-: TQWidget( parent, name ? name : "problemreporter" ),
+ProblemReporter::ProblemReporter( CppSupportPart* part, TQWidget* tqparent, const char* name )
+: TQWidget( tqparent, name ? name : "problemreporter" ),
m_cppSupport( part ),
// m_document( 0 ),
m_markIface( 0 )
@@ -142,8 +142,8 @@ m_markIface( 0 )
m_gridLayout->addWidget(m_tabBar,0,0);
m_gridLayout->addMultiCellWidget(m_widgetStack,1,1,0,2);
- m_gridLayout->addWidget(m_filterLabel,0,1,Qt::AlignRight);
- m_gridLayout->addWidget(m_filterEdit,0,2,Qt::AlignLeft);
+ m_gridLayout->addWidget(m_filterLabel,0,1,TQt::AlignRight);
+ m_gridLayout->addWidget(m_filterEdit,0,2,TQt::AlignLeft);
connect( m_filterEdit, TQT_SIGNAL(returnPressed()),
this, TQT_SLOT(slotFilter()) );
@@ -175,7 +175,7 @@ void ProblemReporter::slotFilter()
if(!m_tabBar->isTabEnabled(5))
m_tabBar->setTabEnabled(5,true);
- m_tabBar->tab(5)->setText(i18n("Filtered: %1").arg( m_filterEdit->text() ));
+ m_tabBar->tab(5)->setText(i18n("Filtered: %1").tqarg( m_filterEdit->text() ));
m_tabBar->setCurrentTab(5);
m_filteredList->clear();
@@ -198,7 +198,7 @@ void ProblemReporter::filterList(KListView* listview, const TQString& level)
TQListViewItemIterator it( listview );
while ( it.current() )
{
- if ( it.current()->text(3).contains(m_filterEdit->text(),false))
+ if ( it.current()->text(3).tqcontains(m_filterEdit->text(),false))
{
new KListViewItem(m_filteredList,level,
it.current()->text(0), it.current()->text(1),
@@ -356,7 +356,7 @@ void ProblemReporter::reportProblem( const TQString& fileName, const Problem& p
m_markIface->addMark( p.line(), markType );
TQString msg = p.text();
- msg = msg.replace( TQRegExp("\n"), "" );
+ msg = msg.tqreplace( TQRegExp("\n"), "" );
TQString relFileName = m_cppSupport->project()->relativeProjectFile(fileName);
@@ -416,7 +416,7 @@ TQString ProblemReporter::levelToString( int level ) const
case Problem::Level_Fixme:
return TQString( i18n("Fixme") );
default:
- return TQString::null;
+ return TQString();
}
}