diff options
Diffstat (limited to 'languages/csharp')
-rw-r--r-- | languages/csharp/CMakeLists.txt | 8 | ||||
-rw-r--r-- | languages/csharp/csharpconfigwidget.h | 2 | ||||
-rw-r--r-- | languages/csharp/csharpsupportpart.cpp | 34 | ||||
-rw-r--r-- | languages/csharp/csharpsupportpart.h | 2 | ||||
-rw-r--r-- | languages/csharp/kdevcsharpsupport.desktop | 56 |
5 files changed, 30 insertions, 72 deletions
diff --git a/languages/csharp/CMakeLists.txt b/languages/csharp/CMakeLists.txt index 5e148431..46243dcf 100644 --- a/languages/csharp/CMakeLists.txt +++ b/languages/csharp/CMakeLists.txt @@ -30,9 +30,11 @@ link_directories( ##### other data ################################ -install( FILES - kdevcsharpsupport.desktop csharpdoc.protocol - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevcsharpsupport.desktop csharpdoc.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) install( FILES kdevcsharpsupport.rc diff --git a/languages/csharp/csharpconfigwidget.h b/languages/csharp/csharpconfigwidget.h index d5a348c4..e0a0894e 100644 --- a/languages/csharp/csharpconfigwidget.h +++ b/languages/csharp/csharpconfigwidget.h @@ -18,7 +18,7 @@ class CSharpConfigWidget : public CSharpConfigWidgetBase { - Q_OBJECT + TQ_OBJECT public: diff --git a/languages/csharp/csharpsupportpart.cpp b/languages/csharp/csharpsupportpart.cpp index 6da33030..a2684118 100644 --- a/languages/csharp/csharpsupportpart.cpp +++ b/languages/csharp/csharpsupportpart.cpp @@ -45,45 +45,45 @@ //#include "programmingbycontract.h" typedef KDevGenericFactory<CSharpSupportPart> CSharpSupportFactory; -static const KDevPluginInfo data("kdevcsharpsupport"); -K_EXPORT_COMPONENT_FACTORY( libkdevcsharpsupport, CSharpSupportFactory( data ) ) +static const KDevPluginInfo pluginData("kdevcsharpsupport"); +K_EXPORT_COMPONENT_FACTORY( libkdevcsharpsupport, CSharpSupportFactory( pluginData ) ) CSharpSupportPart::CSharpSupportPart(TQObject *parent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, parent, name ? name : "CSharpSupportPart") + : KDevLanguageSupport(&pluginData, parent, name ? name : "CSharpSupportPart") { setInstance(CSharpSupportFactory::instance()); setXMLFile("kdevcsharpsupport.rc"); - connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) ); - connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) ); - connect( partController(), TQT_SIGNAL(savedFile(const KURL&)), - this, TQT_SLOT(savedFile(const KURL&)) ); + connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()) ); + connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(projectClosed()) ); + connect( partController(), TQ_SIGNAL(savedFile(const KURL&)), + this, TQ_SLOT(savedFile(const KURL&)) ); TDEAction *action; action = new TDEAction( i18n("Execute Main Program"), "application-x-executable", 0, - this, TQT_SLOT(slotExecute()), + this, TQ_SLOT(slotExecute()), actionCollection(), "build_exec" ); action->setToolTip( i18n("Runs the CSharp program") ); action = new TDEAction( i18n("Execute String..."), "application-x-executable", 0, - this, TQT_SLOT(slotExecuteString()), + this, TQ_SLOT(slotExecuteString()), actionCollection(), "build_execstring" ); action->setToolTip( i18n("Executes a string as CSharp code") ); action = new TDEAction( i18n("Start CSharp Interpreter"), "application-x-executable", 0, - this, TQT_SLOT(slotStartInterpreter()), + this, TQ_SLOT(slotStartInterpreter()), actionCollection(), "build_runinterpreter" ); action->setToolTip( i18n("Starts the CSharp interpreter without a program") ); action = new TDEAction( i18n("Find CSharp Function Documentation..."), 0, - this, TQT_SLOT(slotCSharpdocFunction()), + this, TQ_SLOT(slotCSharpdocFunction()), actionCollection(), "help_csharpdocfunction" ); action->setToolTip( i18n("Show the documentation page of a CSharp function") ); action = new TDEAction( i18n("Find CSharp FAQ Entry..."), 0, - this, TQT_SLOT(slotCSharpdocFAQ()), + this, TQ_SLOT(slotCSharpdocFAQ()), actionCollection(), "help_csharpdocfaq" ); action->setToolTip( i18n("Show the FAQ entry for a keyword") ); @@ -106,14 +106,14 @@ void CSharpSupportPart::projectOpened() { kdDebug(9007) << "projectOpened()" << endl; - connect( project(), TQT_SIGNAL(addedFilesToProject(const TQStringList &)), - this, TQT_SLOT(addedFilesToProject(const TQStringList &)) ); - connect( project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList &)), - this, TQT_SLOT(removedFilesFromProject(const TQStringList &)) ); + connect( project(), TQ_SIGNAL(addedFilesToProject(const TQStringList &)), + this, TQ_SLOT(addedFilesToProject(const TQStringList &)) ); + connect( project(), TQ_SIGNAL(removedFilesFromProject(const TQStringList &)), + this, TQ_SLOT(removedFilesFromProject(const TQStringList &)) ); // We want to parse only after all components have been // procsharpy initialized - TQTimer::singleShot(0, this, TQT_SLOT(initialParse())); + TQTimer::singleShot(0, this, TQ_SLOT(initialParse())); } diff --git a/languages/csharp/csharpsupportpart.h b/languages/csharp/csharpsupportpart.h index 18e5a663..1ecc6c36 100644 --- a/languages/csharp/csharpsupportpart.h +++ b/languages/csharp/csharpsupportpart.h @@ -18,7 +18,7 @@ class CSharpSupportPart : public KDevLanguageSupport { - Q_OBJECT + TQ_OBJECT public: diff --git a/languages/csharp/kdevcsharpsupport.desktop b/languages/csharp/kdevcsharpsupport.desktop index 3a1f2efc..1d0a170e 100644 --- a/languages/csharp/kdevcsharpsupport.desktop +++ b/languages/csharp/kdevcsharpsupport.desktop @@ -1,57 +1,13 @@ [Desktop Entry] -Type=Service -Exec=blubb -Comment=CSharp Support -Comment[ca]=Suport per a CSharp -Comment[da]=Csharp understøttelse -Comment[de]=CSharp-Unterstützung für TDevelop -Comment[el]=Υποστήριξη CSharp -Comment[es]=Soporte para CSharp -Comment[et]=CSharp'i toetus -Comment[fr]=Prise en charge du langage CSharp -Comment[hu]=CSharp-támogatás -Comment[it]=Supporto per CSharp -Comment[ja]=CSharp サポート -Comment[nds]=Ünnerstütten för CSharp -Comment[nl]=Ondersteuning voor CSharp -Comment[pl]=Obsługa CSharp -Comment[pt]=Suporte a C# -Comment[pt_BR]=Suporte a C# -Comment[ru]=Поддержка CSharp -Comment[sk]=CSharp podpora -Comment[sr]=Подршка за CSharp -Comment[sr@Latn]=Podrška za CSharp -Comment[sv]=C#-stöd -Comment[zh_TW]=C# 支援 Name=KDevCSharpSupport -Name[de]=Unterstützung für CSharp (TDevelop) -Name[nds]=CSharp-Ünnerstütten för TDevelop -Name[sv]=TDevelop C#-stöd -Name[zh_TW]=TDevelop C# 支援 + GenericName=CSharp Support -GenericName[ca]=Suport per a CSharp -GenericName[da]=CSharp understøttelse -GenericName[de]=Unterstützung für CSharp -GenericName[el]=Υποστήριξη CSharp -GenericName[es]=Soporte para CSharp -GenericName[et]=CSharp'i toetus -GenericName[fr]=Prise en charge du langage CSharp -GenericName[hu]=CSharp-támogatás -GenericName[it]=Supporto CSharp -GenericName[ja]=CSharp サポート -GenericName[nds]=Ünnerstütten för CSharp -GenericName[nl]=Ondersteuning voor CSharp -GenericName[pl]=Obsługa CSharp -GenericName[pt]=Suporte a C# -GenericName[pt_BR]=Suporte a C# -GenericName[ru]=Поддержка CSharp -GenericName[sk]=CSharp podpora -GenericName[sr]=Подршка за CSharp -GenericName[sr@Latn]=Podrška za CSharp -GenericName[sv]=C#-stöd -GenericName[zh_TW]=C# 支援 + +Comment=CSharp Support + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/LanguageSupport X-TDE-Library=libkdevcsharpsupport X-TDevelop-Version=5 X-TDevelop-Language=CSharp - |