diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnfrontend/importdir_logmsg.cpp | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip |
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnfrontend/importdir_logmsg.cpp')
-rw-r--r-- | src/svnfrontend/importdir_logmsg.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/svnfrontend/importdir_logmsg.cpp b/src/svnfrontend/importdir_logmsg.cpp index 16a6394..9300d59 100644 --- a/src/svnfrontend/importdir_logmsg.cpp +++ b/src/svnfrontend/importdir_logmsg.cpp @@ -23,39 +23,39 @@ #include <klocale.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qvbox.h> -#include <qwhatsthis.h> -#include <qtooltip.h> +#include <tqcheckbox.h> +#include <tqlayout.h> +#include <tqvbox.h> +#include <tqwhatsthis.h> +#include <tqtooltip.h> -Importdir_logmsg::Importdir_logmsg(QWidget *parent, const char *name) - : Logmsg_impl(parent, name) +Importdir_logmsg::Importdir_logmsg(TQWidget *tqparent, const char *name) + : Logmsg_impl(tqparent, name) { - m_createDirBox = new QCheckBox("",this,"create_dir_checkbox"); + m_createDirBox = new TQCheckBox("",this,"create_dir_checkbox"); m_keepLocksButton->hide(); //delete m_keepLocksButton; createDirboxDir(); addItemWidget(m_createDirBox); m_createDirBox->setChecked(true); - QHBoxLayout* tmpLayout = new QHBoxLayout( this, 11, 6, "ExtraLayout"); - m_noIgnore = new QCheckBox("",this,"no_ignore_pattern"); + TQHBoxLayout* tmpLayout = new TQHBoxLayout( this, 11, 6, "ExtraLayout"); + m_noIgnore = new TQCheckBox("",this,"no_ignore_pattern"); m_noIgnore->setText(i18n("No ignore")); - QToolTip::add(m_noIgnore,i18n("If set, add files or directories that match ignore patterns.")); + TQToolTip::add(m_noIgnore,i18n("If set, add files or directories that match ignore patterns.")); tmpLayout->addWidget(m_noIgnore); //LogmessageDataLayout->addWidget(m_createDirBox); if (svn::Version::version_major()>1|| svn::Version::version_minor()>4 ) { - m_ignoreUnknownNodes = new QCheckBox("",this,"ignore_unknown_nodes_box"); + m_ignoreUnknownNodes = new TQCheckBox("",this,"ignore_unknown_nodes_box"); m_ignoreUnknownNodes->setText(i18n("Ignore unknown node types")); - QToolTip::add(m_ignoreUnknownNodes,i18n("Should files with unknown node types be ignored")); - QWhatsThis::add(m_ignoreUnknownNodes,i18n("Ignore files of which the node type is unknown, such as device files and pipes.")); + TQToolTip::add(m_ignoreUnknownNodes,i18n("Should files with unknown node types be ignored")); + TQWhatsThis::add(m_ignoreUnknownNodes,i18n("Ignore files of which the node type is unknown, such as device files and pipes.")); tmpLayout->addWidget(m_ignoreUnknownNodes); //addItemWidget(m_ignoreUnknownNodes); } else { m_ignoreUnknownNodes=0; } - QSpacerItem* m_leftspacer = new QSpacerItem( 40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); + TQSpacerItem* m_leftspacer = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); tmpLayout->addItem(m_leftspacer); LogmessageDataLayout->addItem(tmpLayout); } @@ -79,9 +79,9 @@ bool Importdir_logmsg::createDir() return m_createDirBox->isChecked(); } -void Importdir_logmsg::createDirboxDir(const QString & which) +void Importdir_logmsg::createDirboxDir(const TQString & which) { - m_createDirBox->setText(i18n("Create subdir %1 on import").arg(which.isEmpty()?i18n("(Last part)"):which)); + m_createDirBox->setText(i18n("Create subdir %1 on import").tqarg(which.isEmpty()?i18n("(Last part)"):which)); } #include "importdir_logmsg.moc" |