summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/configguifile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/configguifile.cpp')
-rw-r--r--kitchensync/src/configguifile.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kitchensync/src/configguifile.cpp b/kitchensync/src/configguifile.cpp
index e7974ecb6..6a8b0402c 100644
--- a/kitchensync/src/configguifile.cpp
+++ b/kitchensync/src/configguifile.cpp
@@ -25,39 +25,39 @@
#include <klocale.h>
#include <kdialog.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qdom.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqdom.h>
-ConfigGuiFile::ConfigGuiFile( const QSync::Member &member, QWidget *parent )
+ConfigGuiFile::ConfigGuiFile( const QSync::Member &member, TQWidget *parent )
: ConfigGui( member, parent )
{
- QBoxLayout *filenameLayout = new QHBoxLayout( topLayout() );
+ TQBoxLayout *filenameLayout = new TQHBoxLayout( topLayout() );
- QLabel *label = new QLabel( i18n("Directory name:"), this );
+ TQLabel *label = new TQLabel( i18n("Directory name:"), this );
filenameLayout->addWidget( label );
mFilename = new KURLRequester( this );
mFilename->setMode( KFile::Directory | KFile::LocalOnly );
filenameLayout->addWidget( mFilename );
- QBoxLayout *recursiveLayout = new QHBoxLayout( topLayout() );
+ TQBoxLayout *recursiveLayout = new TQHBoxLayout( topLayout() );
- mRecursive = new QCheckBox( i18n("Sync all subdirectories"), this );
+ mRecursive = new TQCheckBox( i18n("Sync all subdirectories"), this );
recursiveLayout->addWidget( mRecursive );
topLayout()->addStretch( 1 );
}
-void ConfigGuiFile::load( const QString &xml )
+void ConfigGuiFile::load( const TQString &xml )
{
- QDomDocument doc;
+ TQDomDocument doc;
doc.setContent( xml );
- QDomElement docElement = doc.documentElement();
- QDomNode n;
+ TQDomElement docElement = doc.documentElement();
+ TQDomNode n;
for( n = docElement.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- QDomElement e = n.toElement();
+ TQDomElement e = n.toElement();
if ( e.tagName() == "path" ) {
mFilename->setURL( e.text() );
} else if ( e.tagName() == "recursive" ) {
@@ -66,9 +66,9 @@ void ConfigGuiFile::load( const QString &xml )
}
}
-QString ConfigGuiFile::save() const
+TQString ConfigGuiFile::save() const
{
- QString xml;
+ TQString xml;
xml = "<config>";
xml += "<path>" + mFilename->url() + "</path>";
xml += "<recursive>";