summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguievo2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/configguievo2.cpp')
-rw-r--r--kitchensync/src/configguievo2.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kitchensync/src/configguievo2.cpp b/kitchensync/src/configguievo2.cpp
index a8856c1e8..c313ce3ab 100644
--- a/kitchensync/src/configguievo2.cpp
+++ b/kitchensync/src/configguievo2.cpp
@@ -21,10 +21,10 @@
#include "configguievo2.h"
-#include <qdom.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qstring.h>
+#include <tqdom.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqstring.h>
#include <kurlrequester.h>
#include <kurl.h>
@@ -32,20 +32,20 @@
#include <kdialog.h>
#include <klocale.h>
-ConfigGuiEvo2::ConfigGuiEvo2( const QSync::Member &member, QWidget *parent )
+ConfigGuiEvo2::ConfigGuiEvo2( const QSync::Member &member, TQWidget *parent )
: ConfigGui( member, parent )
{
initGUI();
}
-void ConfigGuiEvo2::load( const QString &xml )
+void ConfigGuiEvo2::load( const TQString &xml )
{
- QDomDocument doc;
+ TQDomDocument doc;
doc.setContent( xml );
- QDomElement docElement = doc.documentElement();
- QDomNode node;
+ TQDomElement docElement = doc.documentElement();
+ TQDomNode node;
for( node = docElement.firstChild(); !node.isNull(); node = node.nextSibling() ) {
- QDomElement element = node.toElement();
+ TQDomElement element = node.toElement();
if ( element.tagName() == "address_path" ) {
mAddressPath->setURL( element.text() );
} else if ( element.tagName() == "calendar_path" ) {
@@ -56,13 +56,13 @@ void ConfigGuiEvo2::load( const QString &xml )
}
}
-QString ConfigGuiEvo2::save() const
+TQString ConfigGuiEvo2::save() const
{
- QString config = "<config>\n";
+ TQString config = "<config>\n";
- config += QString( "<address_path>%1</address_path>\n" ).arg( mAddressPath->url() );
- config += QString( "<calendar_path>%1</calendar_path>\n" ).arg( mCalendarPath->url() );
- config += QString( "<tasks_path>%1</tasks_path>\n" ).arg( mTasksPath->url() );
+ config += TQString( "<address_path>%1</address_path>\n" ).arg( mAddressPath->url() );
+ config += TQString( "<calendar_path>%1</calendar_path>\n" ).arg( mCalendarPath->url() );
+ config += TQString( "<tasks_path>%1</tasks_path>\n" ).arg( mTasksPath->url() );
config += "</config>";
@@ -71,20 +71,20 @@ QString ConfigGuiEvo2::save() const
void ConfigGuiEvo2::initGUI()
{
- QGridLayout *layout = new QGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
+ TQGridLayout *layout = new TQGridLayout( topLayout(), 12, 3, KDialog::spacingHint() );
layout->setMargin( KDialog::marginHint() );
- layout->addWidget( new QLabel( i18n( "Address Book location:" ), this ), 0, 0 );
+ layout->addWidget( new TQLabel( i18n( "Address Book location:" ), this ), 0, 0 );
mAddressPath = new KURLRequester( this );
mAddressPath->setMode( KFile::Directory );
layout->addMultiCellWidget( mAddressPath, 0, 0, 1, 2 );
- layout->addWidget( new QLabel( i18n( "Calendar location:" ), this ), 1, 0 );
+ layout->addWidget( new TQLabel( i18n( "Calendar location:" ), this ), 1, 0 );
mCalendarPath = new KURLRequester( this );
mCalendarPath->setMode( KFile::Directory );
layout->addMultiCellWidget( mCalendarPath, 1, 1, 1, 2 );
- layout->addWidget( new QLabel( i18n( "Task list location:" ), this ), 2, 0 );
+ layout->addWidget( new TQLabel( i18n( "Task list location:" ), this ), 2, 0 );
mTasksPath = new KURLRequester( this );
mTasksPath->setMode( KFile::Directory );
layout->addMultiCellWidget( mTasksPath, 2, 2, 1, 2 );