summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/debugdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/egroupware/debugdialog.cpp')
-rw-r--r--kresources/egroupware/debugdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kresources/egroupware/debugdialog.cpp b/kresources/egroupware/debugdialog.cpp
index 117db324..9d45dab7 100644
--- a/kresources/egroupware/debugdialog.cpp
+++ b/kresources/egroupware/debugdialog.cpp
@@ -18,9 +18,9 @@
Boston, MA 02110-1301, USA.
*/
-#include <qfile.h>
-#include <qfiledialog.h>
-#include <qlayout.h>
+#include <tqfile.h>
+#include <tqfiledialog.h>
+#include <tqlayout.h>
#include <ktextbrowser.h>
#include <kstaticdeleter.h>
@@ -37,8 +37,8 @@ DebugDialog::DebugDialog()
"Debug Dialog", false, i18n("Debug Dialog"),
User1 | User2 | Ok, Ok, true )
{
- QWidget *page = plainPage();
- QVBoxLayout *layout = new QVBoxLayout( page, marginHint(), spacingHint() );
+ TQWidget *page = plainPage();
+ TQVBoxLayout *layout = new TQVBoxLayout( page, marginHint(), spacingHint() );
mView = new KTextBrowser( page );
layout->addWidget( mView );
@@ -68,7 +68,7 @@ DebugDialog::~DebugDialog()
mSelf = 0;
}
-void DebugDialog::addMessage( const QString &msg, Type type )
+void DebugDialog::addMessage( const TQString &msg, Type type )
{
if ( mSelf )
mSelf->addText( msg, type );
@@ -82,11 +82,11 @@ void DebugDialog::clear()
void DebugDialog::save()
{
- QString fileName = QFileDialog::getSaveFileName();
+ TQString fileName = TQFileDialog::getSaveFileName();
if ( fileName.isEmpty() )
return;
- QFile file( fileName );
+ TQFile file( fileName );
if ( !file.open( IO_WriteOnly ) ) {
qWarning( "Couldn't open file %s", file.name().latin1() );
return;
@@ -106,9 +106,9 @@ void DebugDialog::slotUser2()
clear();
}
-void DebugDialog::addText( const QString &text, Type type )
+void DebugDialog::addText( const TQString &text, Type type )
{
- QString htmlCode( text );
+ TQString htmlCode( text );
htmlCode.replace( "<", "&lt;" );
htmlCode.replace( ">", "&gt;" );
htmlCode.replace( "\n", "<br>" );