summaryrefslogtreecommitdiffstats
path: root/languages/cpp/configproblemreporter.ui.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/cpp/configproblemreporter.ui.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/cpp/configproblemreporter.ui.h')
-rw-r--r--languages/cpp/configproblemreporter.ui.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/cpp/configproblemreporter.ui.h b/languages/cpp/configproblemreporter.ui.h
index d5952b95..842e0c69 100644
--- a/languages/cpp/configproblemreporter.ui.h
+++ b/languages/cpp/configproblemreporter.ui.h
@@ -15,8 +15,8 @@
#include <klocale.h>
#include <kdebug.h>
-#include <qfile.h>
-#include <qtextstream.h>
+#include <tqfile.h>
+#include <tqtextstream.h>
void ConfigureProblemReporter::init()
{
@@ -39,13 +39,13 @@ void ConfigureProblemReporter::setPart( CppSupportPart* part )
if ( !m_part )
return ;
- QString conf_file_name = m_part->specialHeaderName();
- if ( QFile::exists( conf_file_name ) )
+ TQString conf_file_name = m_part->specialHeaderName();
+ if ( TQFile::exists( conf_file_name ) )
{
- QFile f( conf_file_name );
+ TQFile f( conf_file_name );
if ( f.open( IO_ReadOnly ) )
{
- QTextStream stream( &f );
+ TQTextStream stream( &f );
specialHeader->setText( stream.read() );
f.close();
}
@@ -67,11 +67,11 @@ void ConfigureProblemReporter::accept()
if ( m_part && specialHeader->isModified() )
{
- QString conf_file_name = m_part->specialHeaderName( true );
- QFile f( conf_file_name );
+ TQString conf_file_name = m_part->specialHeaderName( true );
+ TQFile f( conf_file_name );
if ( f.open( IO_WriteOnly ) )
{
- QTextStream stream( &f );
+ TQTextStream stream( &f );
stream << specialHeader->text();
f.close();