summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/debugdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kresources/egroupware/debugdialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 117db3243..9d45dab75 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>" );