From 114a878c64ce6f8223cfd22d76a20eb16d177e5e Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- vcs/clearcase/integrator/Makefile.am | 13 ++++++ vcs/clearcase/integrator/ccintegratordlg.cpp | 40 ++++++++++++++++ vcs/clearcase/integrator/ccintegratordlg.h | 36 +++++++++++++++ vcs/clearcase/integrator/ccintegratordlgbase.ui | 47 +++++++++++++++++++ vcs/clearcase/integrator/clearcaseintegrator.cpp | 54 ++++++++++++++++++++++ vcs/clearcase/integrator/clearcaseintegrator.h | 39 ++++++++++++++++ .../integrator/kdevclearcaseintegrator.desktop | 44 ++++++++++++++++++ 7 files changed, 273 insertions(+) create mode 100644 vcs/clearcase/integrator/Makefile.am create mode 100644 vcs/clearcase/integrator/ccintegratordlg.cpp create mode 100644 vcs/clearcase/integrator/ccintegratordlg.h create mode 100644 vcs/clearcase/integrator/ccintegratordlgbase.ui create mode 100644 vcs/clearcase/integrator/clearcaseintegrator.cpp create mode 100644 vcs/clearcase/integrator/clearcaseintegrator.h create mode 100644 vcs/clearcase/integrator/kdevclearcaseintegrator.desktop (limited to 'vcs/clearcase/integrator') diff --git a/vcs/clearcase/integrator/Makefile.am b/vcs/clearcase/integrator/Makefile.am new file mode 100644 index 00000000..cd998856 --- /dev/null +++ b/vcs/clearcase/integrator/Makefile.am @@ -0,0 +1,13 @@ +INCLUDES = -I$(top_srcdir)/lib/interfaces \ + -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/extras -I$(top_srcdir)/lib/util \ + $(all_includes) +METASOURCES = AUTO +kde_module_LTLIBRARIES = libclearcaseintegrator.la +libclearcaseintegrator_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) +libclearcaseintegrator_la_LIBADD =\ + $(top_builddir)/lib/interfaces/extras/libkdevextras.la\ + $(top_builddir)/lib/libkdevelop.la +kde_services_DATA = kdevclearcaseintegrator.desktop +noinst_HEADERS = clearcaseintegrator.h ccintegratordlg.h +libclearcaseintegrator_la_SOURCES = clearcaseintegrator.cpp \ + ccintegratordlgbase.ui ccintegratordlg.cpp diff --git a/vcs/clearcase/integrator/ccintegratordlg.cpp b/vcs/clearcase/integrator/ccintegratordlg.cpp new file mode 100644 index 00000000..3e58aada --- /dev/null +++ b/vcs/clearcase/integrator/ccintegratordlg.cpp @@ -0,0 +1,40 @@ +/*************************************************************************** + * Copyright (C) 2004 by Alexander Dymo * + * adymo@kdevelop.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ +#include "ccintegratordlg.h" + +CCIntegratorDlg::CCIntegratorDlg(QWidget *parent, const char *name) + :CCIntegratorDlgBase(parent, name) +{ +} + +void CCIntegratorDlg::accept() +{ +} + +void CCIntegratorDlg::init(const QString &/*projectName*/, const QString &/*projectLocation*/) +{ +} + +QWidget *CCIntegratorDlg::self() +{ + return const_cast(this); +} + +#include "ccintegratordlg.moc" diff --git a/vcs/clearcase/integrator/ccintegratordlg.h b/vcs/clearcase/integrator/ccintegratordlg.h new file mode 100644 index 00000000..0b197437 --- /dev/null +++ b/vcs/clearcase/integrator/ccintegratordlg.h @@ -0,0 +1,36 @@ +/*************************************************************************** + * Copyright (C) 2004 by Alexander Dymo * + * adymo@kdevelop.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ +#ifndef CCINTEGRATORDLG_H +#define CCINTEGRATORDLG_H + +#include "ccintegratordlgbase.h" +#include + +class CCIntegratorDlg: public CCIntegratorDlgBase, public VCSDialog { +Q_OBJECT +public: + CCIntegratorDlg(QWidget *parent = 0, const char *name = 0); + + virtual void accept(); + virtual void init(const QString &projectName, const QString &projectLocation); + virtual QWidget *self(); +}; + +#endif diff --git a/vcs/clearcase/integrator/ccintegratordlgbase.ui b/vcs/clearcase/integrator/ccintegratordlgbase.ui new file mode 100644 index 00000000..ae961a9f --- /dev/null +++ b/vcs/clearcase/integrator/ccintegratordlgbase.ui @@ -0,0 +1,47 @@ + +CCIntegratorDlgBase + + + CCIntegratorDlgBase + + + + 0 + 0 + 600 + 480 + + + + + unnamed + + + + textLabel1 + + + No options available for this VCS. + + + + + spacer2 + + + Vertical + + + Expanding + + + + 20 + 437 + + + + + + + diff --git a/vcs/clearcase/integrator/clearcaseintegrator.cpp b/vcs/clearcase/integrator/clearcaseintegrator.cpp new file mode 100644 index 00000000..3ea4295f --- /dev/null +++ b/vcs/clearcase/integrator/clearcaseintegrator.cpp @@ -0,0 +1,54 @@ +/*************************************************************************** + * Copyright (C) 2004 by Alexander Dymo * + * adymo@kdevelop.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ +#include "clearcaseintegrator.h" + +#include +#include + +#include "ccintegratordlg.h" + +static const KDevPluginInfo data("kdevclearcaseintegrator"); +typedef KDevGenericFactory ClearcaseIntegratorFactory; +K_EXPORT_COMPONENT_FACTORY( libclearcaseintegrator, ClearcaseIntegratorFactory(data) ) + +ClearcaseIntegrator::ClearcaseIntegrator(QObject* parent, const char* name, + const QStringList // args + ) + :KDevVCSIntegrator(parent, name) +{ +} + +ClearcaseIntegrator::~ClearcaseIntegrator() +{ +} + +VCSDialog* ClearcaseIntegrator::fetcher(QWidget* // parent + ) +{ + return 0; +} + +VCSDialog* ClearcaseIntegrator::integrator(QWidget* parent) +{ + CCIntegratorDlg *dlg = new CCIntegratorDlg(parent); + return dlg; +} + +#include "clearcaseintegrator.moc" diff --git a/vcs/clearcase/integrator/clearcaseintegrator.h b/vcs/clearcase/integrator/clearcaseintegrator.h new file mode 100644 index 00000000..a6aaf396 --- /dev/null +++ b/vcs/clearcase/integrator/clearcaseintegrator.h @@ -0,0 +1,39 @@ +/*************************************************************************** + * Copyright (C) 2004 by Alexander Dymo * + * adymo@kdevelop.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ +#ifndef CLEARCASEINTEGRATOR_H +#define CLEARCASEINTEGRATOR_H + +#include + +#include + +class ClearcaseIntegrator : public KDevVCSIntegrator +{ +Q_OBJECT +public: + ClearcaseIntegrator(QObject* parent, const char* name, const QStringList args = QStringList()); + ~ClearcaseIntegrator(); + + virtual VCSDialog* fetcher(QWidget* parent); + virtual VCSDialog* integrator(QWidget* parent); + +}; + +#endif diff --git a/vcs/clearcase/integrator/kdevclearcaseintegrator.desktop b/vcs/clearcase/integrator/kdevclearcaseintegrator.desktop new file mode 100644 index 00000000..b9957370 --- /dev/null +++ b/vcs/clearcase/integrator/kdevclearcaseintegrator.desktop @@ -0,0 +1,44 @@ +[Desktop Entry] +Type=Service +Name=KDevClearcaseIntegrator +Name[da]=KDevelop Clearcase-integration +Name[nds]=KDevelop-Clearcase-Integreren +Name[sk]=KDev ClearCase integrácia +Name[sv]=KDevelop Clearcase-integration +Name[zh_TW]=KDevelop Clearcase 整合器 +Comment=Clearcase Project Integration Facility +Comment[ca]=Faciliat per a la integració amb projectes Clearcase +Comment[da]=Clearcase projektintegration +Comment[de]=Clearcase-Integration +Comment[el]=Λειτουργία ενσωμάτωσης Clearcase στο έργο +Comment[es]=Facilidad para integración con proyectos Clearcase +Comment[et]=Clearcase projekti põimimisvahend +Comment[eu]=Clearcase proiektu-integraziorako tresna +Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ Clearcase +Comment[fr]=Fonction d'intégration pour un projet utilisant Clearcase +Comment[gl]=Utilidade para a integración de proxectos ClearCase +Comment[hu]=Integrálás Clearcase-projektekkel +Comment[it]=Funzione di integrazione del progetto ClearCase +Comment[ja]=Clearcase プロジェクト統合ツール +Comment[ms]=Kemudahan Integrasi Projek Clearcase +Comment[nds]=Projektintegreren för Clearcase +Comment[ne]=क्लेयरकेस परियोजना एकिकरण सुविधा +Comment[nl]=Clearcase-projectintegratie +Comment[pl]=Integracja z Clearcase +Comment[pt]=Integração com Projectos Clearcase +Comment[pt_BR]=Facilidade de Integração ao Projeto de Clearcase +Comment[ru]=Интеграция Clearcase +Comment[sk]=Integrácia ClearCase projektu +Comment[sr]=Интеграција Clearcase-а у пројекат +Comment[sr@Latn]=Integracija Clearcase-a u projekat +Comment[sv]=Funktion för integrering av Clearcase i projekt +Comment[tr]=Clearcase Proje Bütünleştirilmesi Aracı +Comment[zh_CN]=Clearcase 工程集成功能 +Comment[zh_TW]=Clearcase 專案整合工具 +Exec=blubb +ServiceTypes=KDevelop/VCSIntegrator +X-KDE-Library=libclearcaseintegrator +X-KDevelop-Default=false +X-KDevelop-VCS=ClearCase +X-KDevelop-VCSPlugin=kdevclearcase +X-KDevelop-Version=5 -- cgit v1.2.3