summaryrefslogtreecommitdiffstats
path: root/parts/vcsmanager/vcsmanagerprojectconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/vcsmanager/vcsmanagerprojectconfig.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/vcsmanager/vcsmanagerprojectconfig.cpp')
-rw-r--r--parts/vcsmanager/vcsmanagerprojectconfig.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/vcsmanager/vcsmanagerprojectconfig.cpp b/parts/vcsmanager/vcsmanagerprojectconfig.cpp
index a3dbeab2..9a081f3a 100644
--- a/parts/vcsmanager/vcsmanagerprojectconfig.cpp
+++ b/parts/vcsmanager/vcsmanagerprojectconfig.cpp
@@ -17,8 +17,8 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <qcombobox.h>
-#include <qstring.h>
+#include <tqcombobox.h>
+#include <tqstring.h>
#include <ktrader.h>
#include <klocale.h>
@@ -28,7 +28,7 @@
#include "vcsmanagerprojectconfig.h"
#include "vcsmanagerpart.h"
-VCSManagerProjectConfig::VCSManagerProjectConfig( VCSManagerPart *part, QWidget *parent, const char *name )
+VCSManagerProjectConfig::VCSManagerProjectConfig( VCSManagerPart *part, TQWidget *parent, const char *name )
: VCSManagerProjectConfigBase( parent, name ), m_part( part )
{
setup();
@@ -36,9 +36,9 @@ VCSManagerProjectConfig::VCSManagerProjectConfig( VCSManagerPart *part, QWidget
void VCSManagerProjectConfig::accept()
{
- QString vcsPluginName = *m_vcsPluginNames.at( vcsCombo->currentItem() );
+ TQString vcsPluginName = *m_vcsPluginNames.at( vcsCombo->currentItem() );
- QDomDocument & dom = *m_part->projectDom();
+ TQDomDocument & dom = *m_part->projectDom();
DomUtil::writeEntry( dom, "/general/versioncontrol", vcsPluginName );
m_part->loadVCSPlugin();
@@ -51,7 +51,7 @@ void VCSManagerProjectConfig::setup( )
int current = 0;
- QString constraint = QString("[X-KDevelop-Version] == %1").arg(KDEVELOP_PLUGIN_VERSION);
+ TQString constraint = TQString("[X-KDevelop-Version] == %1").arg(KDEVELOP_PLUGIN_VERSION);
KTrader::OfferList offers = KTrader::self()->query("KDevelop/VersionControl", constraint );
KTrader::OfferList::const_iterator it = offers.begin();
for ( int i = 1; it != offers.end(); ++it, ++i )