diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kitchensync/src/configguifile.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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 'kitchensync/src/configguifile.cpp')
-rw-r--r-- | kitchensync/src/configguifile.cpp | 32 |
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>"; |