summaryrefslogtreecommitdiffstats
path: root/languages/fortran
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /languages/fortran
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'languages/fortran')
-rw-r--r--languages/fortran/CMakeLists.txt8
-rw-r--r--languages/fortran/Makefile.am14
-rw-r--r--languages/fortran/app_templates/fortranhello/CMakeLists.txt6
-rw-r--r--languages/fortran/app_templates/fortranhello/Makefile.am4
-rw-r--r--languages/fortran/app_templates/fortranhello/app.tdevelop20
-rw-r--r--languages/fortran/app_templates/fortranhello/fortranhello.tdevtemplate (renamed from languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate)4
-rw-r--r--languages/fortran/compiler/Makefile.am2
-rw-r--r--languages/fortran/compiler/pgioptions/CMakeLists.txt8
-rw-r--r--languages/fortran/compiler/pgioptions/Makefile.am12
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp4
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp2
-rw-r--r--languages/fortran/compiler/pgioptions/pgioptionsplugin.h4
-rw-r--r--languages/fortran/compiler/pgioptions/tdevpgf77options.desktop (renamed from languages/fortran/compiler/pgioptions/kdevpgf77options.desktop)2
-rw-r--r--languages/fortran/compiler/pgioptions/tdevpghpfoptions.desktop (renamed from languages/fortran/compiler/pgioptions/kdevpghpfoptions.desktop)2
-rw-r--r--languages/fortran/doc/CMakeLists.txt2
-rw-r--r--languages/fortran/doc/Makefile.am2
-rw-r--r--languages/fortran/file_templates/CMakeLists.txt2
-rw-r--r--languages/fortran/file_templates/Makefile.am2
-rw-r--r--languages/fortran/fortransupportpart.cpp28
-rw-r--r--languages/fortran/fortransupportpart.h10
-rw-r--r--languages/fortran/tdevfortransupport.desktop (renamed from languages/fortran/kdevfortransupport.desktop)2
-rw-r--r--languages/fortran/tdevfortransupport.rc (renamed from languages/fortran/kdevfortransupport.rc)0
22 files changed, 70 insertions, 70 deletions
diff --git a/languages/fortran/CMakeLists.txt b/languages/fortran/CMakeLists.txt
index 507795aa..8829a5b3 100644
--- a/languages/fortran/CMakeLists.txt
+++ b/languages/fortran/CMakeLists.txt
@@ -31,13 +31,13 @@ link_directories(
##### other data ################################
-install( FILES kdevfortransupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kdevfortransupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevfortransupport )
+install( FILES tdevfortransupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES tdevfortransupport.rc DESTINATION ${DATA_INSTALL_DIR}/tdevfortransupport )
-##### libkdevfortransupport (module) ############
+##### libtdevfortransupport (module) ############
-tde_add_kpart( libkdevfortransupport AUTOMOC
+tde_add_kpart( libtdevfortransupport AUTOMOC
SOURCES
fortransupportpart.cpp fixedformparser.cpp
ftnchekconfigwidget.cpp ftnchekconfigwidgetbase.ui
diff --git a/languages/fortran/Makefile.am b/languages/fortran/Makefile.am
index 73f4582c..e6568364 100644
--- a/languages/fortran/Makefile.am
+++ b/languages/fortran/Makefile.am
@@ -5,16 +5,16 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
$(all_includes)
SUBDIRS = file_templates app_templates compiler doc
-kde_module_LTLIBRARIES = libkdevfortransupport.la
-libkdevfortransupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfortransupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libtdevfortransupport.la
+libtdevfortransupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfortransupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfortransupport_la_SOURCES = fortransupportpart.cpp fixedformparser.cpp ftnchekconfigwidget.cpp ftnchekconfigwidgetbase.ui
+libtdevfortransupport_la_SOURCES = fortransupportpart.cpp fixedformparser.cpp ftnchekconfigwidget.cpp ftnchekconfigwidgetbase.ui
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfortransupport.desktop
+service_DATA = tdevfortransupport.desktop
-rcdir = $(kde_datadir)/kdevfortransupport
-rc_DATA = kdevfortransupport.rc
+rcdir = $(kde_datadir)/tdevfortransupport
+rc_DATA = tdevfortransupport.rc
diff --git a/languages/fortran/app_templates/fortranhello/CMakeLists.txt b/languages/fortran/app_templates/fortranhello/CMakeLists.txt
index 74709631..86254144 100644
--- a/languages/fortran/app_templates/fortranhello/CMakeLists.txt
+++ b/languages/fortran/app_templates/fortranhello/CMakeLists.txt
@@ -19,9 +19,9 @@ add_custom_target( fortranhello.tar.gz ALL
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/fortranhello.tar.gz fortranhello.png
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard )
install( FILES
- fortranhello.kdevtemplate
- DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates )
+ fortranhello.tdevtemplate
+ DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates )
diff --git a/languages/fortran/app_templates/fortranhello/Makefile.am b/languages/fortran/app_templates/fortranhello/Makefile.am
index 3bf32575..15da4c3f 100644
--- a/languages/fortran/app_templates/fortranhello/Makefile.am
+++ b/languages/fortran/app_templates/fortranhello/Makefile.am
@@ -3,10 +3,10 @@ dataFiles = main.f src-Makefile.am fortran-Makefile.am fortran-Makefile.cvs \
templateName = fortranhello
### no need to change below:
-template_DATA = $(templateName).kdevtemplate
+template_DATA = $(templateName).tdevtemplate
templatedir = ${appwizarddatadir}/templates
-appwizarddatadir = ${kde_datadir}/kdevappwizard
+appwizarddatadir = ${kde_datadir}/tdevappwizard
$(templateName).tar.gz: ${dataFiles}
$(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles}
$(GZIP_COMMAND) -f9 $(templateName).tar
diff --git a/languages/fortran/app_templates/fortranhello/app.tdevelop b/languages/fortran/app_templates/fortranhello/app.tdevelop
index f97fd76a..238351ec 100644
--- a/languages/fortran/app_templates/fortranhello/app.tdevelop
+++ b/languages/fortran/app_templates/fortranhello/app.tdevelop
@@ -14,7 +14,7 @@
<part>KDevCTags</part>
</ignoreparts>
</general>
- <kdevautoproject>
+ <tdevautoproject>
<general>
<activetarget>src/%{APPNAMELC}</activetarget>
</general>
@@ -26,16 +26,16 @@
<envvar value="1" name="WANT_AUTOCONF_2_5" />
<envvar value="1" name="WANT_AUTOMAKE_1_6" />
</makeenvvars>
- </kdevautoproject>
- <kdevfilecreate>
+ </tdevautoproject>
+ <tdevfilecreate>
<useglobaltypes>
<type ext="F"/>
<type ext="fpp"/>
<type ext="f"/>
<type ext="for"/>
</useglobaltypes>
- </kdevfilecreate>
- <kdevfortransupport>
+ </tdevfilecreate>
+ <tdevfortransupport>
<ftnchek>
<division>false</division>
<extern>false</extern>
@@ -54,8 +54,8 @@
<f77only></f77only>
<portabilityonly></portabilityonly>
</ftnchek>
- </kdevfortransupport>
- <kdevdoctreeview>
+ </tdevfortransupport>
+ <tdevdoctreeview>
<ignoretocs>
<toc>ada</toc>
<toc>ada_bugs_gcc</toc>
@@ -103,11 +103,11 @@
<ignoredoxygen>
<toc>KDE Libraries (Doxygen)</toc>
</ignoredoxygen>
- </kdevdoctreeview>
- <kdevfileview>
+ </tdevdoctreeview>
+ <tdevfileview>
<groups>
<group pattern="*.f;*.for;*.FOR" name="Preprocessed Fortran" />
<group pattern="*.F;*.fpp;*.FPP" name="Fortran77 source files" />
</groups>
- </kdevfileview>
+ </tdevfileview>
</tdevelop>
diff --git a/languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate b/languages/fortran/app_templates/fortranhello/fortranhello.tdevtemplate
index e4c5cb33..d25570f7 100644
--- a/languages/fortran/app_templates/fortranhello/fortranhello.kdevtemplate
+++ b/languages/fortran/app_templates/fortranhello/fortranhello.tdevtemplate
@@ -67,11 +67,11 @@ Archive=fortranhello.tar.gz
[INCADMIN]
Type=include
-File=%{tdevelop}/template-common/incadmin.kdevtemplate
+File=%{tdevelop}/template-common/incadmin.tdevtemplate
[GNU]
Type=include
-File=%{tdevelop}/template-common/gnu.kdevtemplate
+File=%{tdevelop}/template-common/gnu.tdevtemplate
[FILE1]
Type=install
diff --git a/languages/fortran/compiler/Makefile.am b/languages/fortran/compiler/Makefile.am
index 3489a85c..183131cb 100644
--- a/languages/fortran/compiler/Makefile.am
+++ b/languages/fortran/compiler/Makefile.am
@@ -1,6 +1,6 @@
# This is the collection of plugins. In contrast to the parts
# directory, these are 'transient' in a sense and don't
-# share the complete KDevComponent interface.
+# share the complete TDevComponent interface.
SUBDIRS = pgioptions
diff --git a/languages/fortran/compiler/pgioptions/CMakeLists.txt b/languages/fortran/compiler/pgioptions/CMakeLists.txt
index 2111f2ad..82d0d0a2 100644
--- a/languages/fortran/compiler/pgioptions/CMakeLists.txt
+++ b/languages/fortran/compiler/pgioptions/CMakeLists.txt
@@ -25,15 +25,15 @@ link_directories(
##### other data ################################
install( FILES
- kdevpghpfoptions.desktop kdevpgf77options.desktop
+ tdevpghpfoptions.desktop tdevpgf77options.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevpgioptions (module) ################
+##### libtdevpgioptions (module) ################
-tde_add_kpart( libkdevpgioptions AUTOMOC
+tde_add_kpart( libtdevpgioptions AUTOMOC
SOURCES
pgioptionsfactory.cpp pgioptionsplugin.cpp
- LINK kdevextras-shared tdeui-shared
+ LINK tdevextras-shared tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
diff --git a/languages/fortran/compiler/pgioptions/Makefile.am b/languages/fortran/compiler/pgioptions/Makefile.am
index 893b7950..c26068e2 100644
--- a/languages/fortran/compiler/pgioptions/Makefile.am
+++ b/languages/fortran/compiler/pgioptions/Makefile.am
@@ -4,15 +4,15 @@
INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extras \
$(all_includes)
-kde_module_LTLIBRARIES = libkdevpgioptions.la
-libkdevpgioptions_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
-libkdevpgioptions_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
- $(top_builddir)/lib/interfaces/extras/libkdevextras.la
+kde_module_LTLIBRARIES = libtdevpgioptions.la
+libtdevpgioptions_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN)
+libtdevpgioptions_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \
+ $(top_builddir)/lib/interfaces/extras/libtdevextras.la
-libkdevpgioptions_la_SOURCES = pgioptionsfactory.cpp pgioptionsplugin.cpp
+libtdevpgioptions_la_SOURCES = pgioptionsfactory.cpp pgioptionsplugin.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevpghpfoptions.desktop kdevpgf77options.desktop
+service_DATA = tdevpghpfoptions.desktop tdevpgf77options.desktop
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
index 6e019589..474263f0 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
+++ b/languages/fortran/compiler/pgioptions/pgioptionsfactory.cpp
@@ -17,7 +17,7 @@
extern "C" {
- void *init_libkdevpgioptions()
+ void *init_libtdevpgioptions()
{
return new PgiOptionsFactory;
}
@@ -61,7 +61,7 @@ TDEInstance *PgiOptionsFactory::s_instance = 0;
TDEInstance *PgiOptionsFactory::instance()
{
if (!s_instance)
- s_instance = new TDEInstance("kdevpgioptions");
+ s_instance = new TDEInstance("tdevpgioptions");
return s_instance;
}
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
index 29301c36..50d907b5 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
+++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.cpp
@@ -300,7 +300,7 @@ TQString PgiOptionsDialog::flags() const
PgiOptionsPlugin::PgiOptionsPlugin(Type type, TQObject *parent, const char *name)
- : KDevCompilerOptions(parent, name)
+ : TDevCompilerOptions(parent, name)
{
pgitype = type;
}
diff --git a/languages/fortran/compiler/pgioptions/pgioptionsplugin.h b/languages/fortran/compiler/pgioptions/pgioptionsplugin.h
index d5d80892..daa8c99b 100644
--- a/languages/fortran/compiler/pgioptions/pgioptionsplugin.h
+++ b/languages/fortran/compiler/pgioptions/pgioptionsplugin.h
@@ -14,14 +14,14 @@
#include <kdialogbase.h>
-#include "kdevcompileroptions.h"
+#include "tdevcompileroptions.h"
class GeneralTab;
class OptimizationTab;
class HpfTab;
-class PgiOptionsPlugin : public KDevCompilerOptions
+class PgiOptionsPlugin : public TDevCompilerOptions
{
Q_OBJECT
diff --git a/languages/fortran/compiler/pgioptions/kdevpgf77options.desktop b/languages/fortran/compiler/pgioptions/tdevpgf77options.desktop
index 6d2007ea..12dadcff 100644
--- a/languages/fortran/compiler/pgioptions/kdevpgf77options.desktop
+++ b/languages/fortran/compiler/pgioptions/tdevpgf77options.desktop
@@ -47,7 +47,7 @@ Name[ta]=Pgf77 விருப்பங்கள்
Name[tg]=Pgf77Интихобҳо
Name[zh_TW]=Pgf77 選項
ServiceTypes=TDevelop/CompilerOptions
-X-TDE-Library=libkdevpgioptions
+X-TDE-Library=libtdevpgioptions
X-TDevelop-Version=5
X-TDevelop-Language=Fortran
X-TDevelop-Args=pgf77
diff --git a/languages/fortran/compiler/pgioptions/kdevpghpfoptions.desktop b/languages/fortran/compiler/pgioptions/tdevpghpfoptions.desktop
index f3793949..7fe27fe8 100644
--- a/languages/fortran/compiler/pgioptions/kdevpghpfoptions.desktop
+++ b/languages/fortran/compiler/pgioptions/tdevpghpfoptions.desktop
@@ -44,7 +44,7 @@ Name[ta]=Pghpf விருப்பங்கள்
Name[tg]=PghpfИнтихобҳо
Name[zh_TW]=Pghpf 選項
ServiceTypes=TDevelop/CompilerOptions
-X-TDE-Library=libkdevpgioptions
+X-TDE-Library=libtdevpgioptions
X-TDevelop-Version=5
X-TDevelop-Language=Fortran
X-TDevelop-Args=pghpf
diff --git a/languages/fortran/doc/CMakeLists.txt b/languages/fortran/doc/CMakeLists.txt
index 50e2ab71..423f4cbd 100644
--- a/languages/fortran/doc/CMakeLists.txt
+++ b/languages/fortran/doc/CMakeLists.txt
@@ -11,4 +11,4 @@
install( FILES
fortran_bugs_gcc.toc
- DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/tocs )
diff --git a/languages/fortran/doc/Makefile.am b/languages/fortran/doc/Makefile.am
index 5e7eab51..b7f9a188 100644
--- a/languages/fortran/doc/Makefile.am
+++ b/languages/fortran/doc/Makefile.am
@@ -1,4 +1,4 @@
-tocdir = ${kde_datadir}/kdevdocumentation/tocs
+tocdir = ${kde_datadir}/tdevdocumentation/tocs
toc_DATA = fortran_bugs_gcc.toc
#indexdir = ${kde_datadir}/devdoctreeview/indices
diff --git a/languages/fortran/file_templates/CMakeLists.txt b/languages/fortran/file_templates/CMakeLists.txt
index 3b5ef22e..b031bbdc 100644
--- a/languages/fortran/file_templates/CMakeLists.txt
+++ b/languages/fortran/file_templates/CMakeLists.txt
@@ -11,4 +11,4 @@
install( FILES
f f77 f90 f95 for fpp ftn
- DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates )
+ DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate/file-templates )
diff --git a/languages/fortran/file_templates/Makefile.am b/languages/fortran/file_templates/Makefile.am
index 2a8e4365..d935b552 100644
--- a/languages/fortran/file_templates/Makefile.am
+++ b/languages/fortran/file_templates/Makefile.am
@@ -1,2 +1,2 @@
-templatedir = $(kde_datadir)/kdevfilecreate/file-templates
+templatedir = $(kde_datadir)/tdevfilecreate/file-templates
template_DATA = f f77 f90 f95 for fpp ftn
diff --git a/languages/fortran/fortransupportpart.cpp b/languages/fortran/fortransupportpart.cpp
index 4f749ed3..c23a35f3 100644
--- a/languages/fortran/fortransupportpart.cpp
+++ b/languages/fortran/fortransupportpart.cpp
@@ -31,29 +31,29 @@
#include <tdemessagebox.h>
#include <kprocess.h>
#include <kregexp.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <tdeaction.h>
#include <kiconloader.h>
-#include <kdevcore.h>
-#include <kdevproject.h>
-#include <kdevmakefrontend.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevproject.h>
+#include <tdevmakefrontend.h>
+#include <tdevpartcontroller.h>
#include <domutil.h>
#include <codemodel.h>
-#include <kdevplugininfo.h>
+#include <tdevplugininfo.h>
-typedef KDevGenericFactory<FortranSupportPart> FortranSupportFactory;
-static const KDevPluginInfo data("kdevfortransupport");
-K_EXPORT_COMPONENT_FACTORY( libkdevfortransupport, FortranSupportFactory( data ) )
+typedef TDevGenericFactory<FortranSupportPart> FortranSupportFactory;
+static const TDevPluginInfo data("tdevfortransupport");
+K_EXPORT_COMPONENT_FACTORY( libtdevfortransupport, FortranSupportFactory( data ) )
FortranSupportPart::FortranSupportPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevLanguageSupport(&data, parent, name ? name : "FortranSupportPart")
+ : TDevLanguageSupport(&data, parent, name ? name : "FortranSupportPart")
{
setInstance(FortranSupportFactory::instance());
- setXMLFile("kdevfortransupport.rc");
+ setXMLFile("tdevfortransupport.rc");
connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
@@ -274,14 +274,14 @@ void FortranSupportPart::savedFile(const KURL &fileName)
}
-KDevLanguageSupport::Features FortranSupportPart::features()
+TDevLanguageSupport::Features FortranSupportPart::features()
{
return Features(Functions);
}
-KDevMakeFrontend * FortranSupportPart::makeFrontend( )
+TDevMakeFrontend * FortranSupportPart::makeFrontend( )
{
- return extension<KDevMakeFrontend>("TDevelop/MakeFrontend");
+ return extension<TDevMakeFrontend>("TDevelop/MakeFrontend");
}
#include "fortransupportpart.moc"
diff --git a/languages/fortran/fortransupportpart.h b/languages/fortran/fortransupportpart.h
index 7ed0f122..fe48e364 100644
--- a/languages/fortran/fortransupportpart.h
+++ b/languages/fortran/fortransupportpart.h
@@ -15,12 +15,12 @@
class FixedFormParser;
class KDialogBase;
class TQStringList;
-class KDevMakeFrontend;
+class TDevMakeFrontend;
-#include "kdevlanguagesupport.h"
+#include "tdevlanguagesupport.h"
-class FortranSupportPart : public KDevLanguageSupport
+class FortranSupportPart : public TDevLanguageSupport
{
Q_OBJECT
@@ -30,7 +30,7 @@ public:
~FortranSupportPart();
protected:
- virtual KDevLanguageSupport::Features features();
+ virtual TDevLanguageSupport::Features features();
private slots:
void slotFtnchek();
@@ -46,7 +46,7 @@ private slots:
private:
void maybeParse(const TQString fileName);
- KDevMakeFrontend *makeFrontend();
+ TDevMakeFrontend *makeFrontend();
FixedFormParser *parser;
};
diff --git a/languages/fortran/kdevfortransupport.desktop b/languages/fortran/tdevfortransupport.desktop
index b6465210..d4da4cba 100644
--- a/languages/fortran/kdevfortransupport.desktop
+++ b/languages/fortran/tdevfortransupport.desktop
@@ -75,6 +75,6 @@ GenericName[tr]=Fortran 77 Desteği
GenericName[zh_CN]=Fortran 77 支持
GenericName[zh_TW]=Fortran 77 支援
ServiceTypes=TDevelop/LanguageSupport
-X-TDE-Library=libkdevfortransupport
+X-TDE-Library=libtdevfortransupport
X-TDevelop-Version=5
X-TDevelop-Language=Fortran77
diff --git a/languages/fortran/kdevfortransupport.rc b/languages/fortran/tdevfortransupport.rc
index 40e3f80a..40e3f80a 100644
--- a/languages/fortran/kdevfortransupport.rc
+++ b/languages/fortran/tdevfortransupport.rc