From d2a38395f59266eb29d59edaabe07c2a68475fd0 Mon Sep 17 00:00:00 2001 From: Petr Prikryl Date: Tue, 25 Jun 2013 13:36:18 +0200 Subject: EN + CZ -- unused methods removed: i.e. the ones reported in translator_report.txt as... ====================================================================== WARNING: The following translator methods are declared in the Translator class but their identifiers do not appear in source files. The situation should be checked. The .cpp files and .h files excluding the '*translator*' files in doxygen/src directory were simply searched for occurrence of the method identifiers: QCString idLanguageCharset() QCString trAlphabeticalList() QCString trDCOPMethods() QCString trDirDependency(const char *) QCString trFuncProtos() QCString trFunctionPrototypeDocumentation() QCString trSearchForIndex() QCString trWrittenBy() --- src/translator.h | 14 +++++++------- src/translator_cz.h | 47 ----------------------------------------------- src/translator_en.h | 48 ------------------------------------------------ 3 files changed, 7 insertions(+), 102 deletions(-) diff --git a/src/translator.h b/src/translator.h index 9fbbddd..49a8135 100644 --- a/src/translator.h +++ b/src/translator.h @@ -98,21 +98,21 @@ class Translator virtual QCString trPageDocumentation() = 0; virtual QCString trReferenceManual() = 0; virtual QCString trDefines() = 0; - virtual QCString trFuncProtos() = 0; + //virtual QCString trFuncProtos() = 0; virtual QCString trTypedefs() = 0; virtual QCString trEnumerations() = 0; virtual QCString trFunctions() = 0; virtual QCString trVariables() = 0; virtual QCString trEnumerationValues() = 0; virtual QCString trDefineDocumentation() = 0; - virtual QCString trFunctionPrototypeDocumentation() = 0; + //virtual QCString trFunctionPrototypeDocumentation() = 0; virtual QCString trTypedefDocumentation() = 0; virtual QCString trEnumerationTypeDocumentation() = 0; virtual QCString trFunctionDocumentation() = 0; virtual QCString trVariableDocumentation() = 0; virtual QCString trCompounds() = 0; virtual QCString trGeneratedAt(const char *date,const char *projName) = 0; - virtual QCString trWrittenBy() = 0; + //virtual QCString trWrittenBy() = 0; virtual QCString trClassDiagram(const char *clName) = 0; virtual QCString trForInternalUseOnly() = 0; //virtual QCString trReimplementedForInternalReasons() = 0; @@ -183,7 +183,7 @@ class Translator virtual QCString trGeneratedFromFiles(ClassDef::CompoundType compType, bool single) = 0; - virtual QCString trAlphabeticalList() = 0; + //virtual QCString trAlphabeticalList() = 0; ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 @@ -278,7 +278,7 @@ class Translator // new since 1.2.1 ////////////////////////////////////////////////////////////////////////// - virtual QCString trDCOPMethods() = 0; + //virtual QCString trDCOPMethods() = 0; ////////////////////////////////////////////////////////////////////////// // new since 1.2.2 @@ -440,7 +440,7 @@ class Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - virtual QCString trSearchForIndex() = 0; + //virtual QCString trSearchForIndex() = 0; virtual QCString trSearchResultsTitle() = 0; virtual QCString trSearchResults(int numDocuments) = 0; virtual QCString trSearchMatches() = 0; @@ -519,7 +519,7 @@ class Translator // new since 1.6.3 ////////////////////////////////////////////////////////////////////////// - virtual QCString trDirDependency(const char *name) = 0; + //virtual QCString trDirDependency(const char *name) = 0; virtual QCString trFileIn(const char *name) = 0; virtual QCString trIncludesFileIn(const char *name) = 0; virtual QCString trDateTime(int year,int month,int day,int dayOfWeek, diff --git a/src/translator_cz.h b/src/translator_cz.h index e6d7af0..2793519 100644 --- a/src/translator_cz.h +++ b/src/translator_cz.h @@ -454,12 +454,6 @@ class TranslatorCzech : public Translator { return "Definice maker"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Prototypy"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -496,12 +490,6 @@ class TranslatorCzech : public Translator { return "Dokumentace k definicím maker"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Dokumentace prototypů"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -552,12 +540,6 @@ class TranslatorCzech : public Translator result += " programem"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return " -- autor "; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -833,12 +815,6 @@ class TranslatorCzech : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Rejstřík tříd"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1152,16 +1128,6 @@ class TranslatorCzech : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "Metody DCOP"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1471,13 +1437,6 @@ class TranslatorCzech : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the index - * of each page before the search field. - */ - virtual QCString trSearchForIndex() - { - return "Vyhledat"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1856,12 +1815,6 @@ class TranslatorCzech : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Graf závislosti adresářů pro "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. diff --git a/src/translator_en.h b/src/translator_en.h index 0240b52..cb933df 100644 --- a/src/translator_en.h +++ b/src/translator_en.h @@ -417,12 +417,6 @@ class TranslatorEnglish : public Translator { return "Macros"; } /*! This is used in the documentation of a file as a header before the - * list of function prototypes - */ - virtual QCString trFuncProtos() - { return "Function Prototypes"; } - - /*! This is used in the documentation of a file as a header before the * list of typedefs */ virtual QCString trTypedefs() @@ -459,12 +453,6 @@ class TranslatorEnglish : public Translator { return "Macro Definition Documentation"; } /*! This is used in the documentation of a file/namespace before the list - * of documentation blocks for function prototypes - */ - virtual QCString trFunctionPrototypeDocumentation() - { return "Function Prototype Documentation"; } - - /*! This is used in the documentation of a file/namespace before the list * of documentation blocks for typedefs */ virtual QCString trTypedefDocumentation() @@ -513,12 +501,6 @@ class TranslatorEnglish : public Translator result+=(QCString)" by"; return result; } - /*! This is part of the sentence used in the standard footer of each page. - */ - virtual QCString trWrittenBy() - { - return "written by"; - } /*! this text is put before a class diagram */ virtual QCString trClassDiagram(const char *clName) @@ -780,12 +762,6 @@ class TranslatorEnglish : public Translator return result; } - /*! This is in the (quick) index as a link to the alphabetical compound - * list. - */ - virtual QCString trAlphabeticalList() - { return "Alphabetical List"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990901 ////////////////////////////////////////////////////////////////////////// @@ -1089,16 +1065,6 @@ class TranslatorEnglish : public Translator } ////////////////////////////////////////////////////////////////////////// -// new since 1.2.1 -////////////////////////////////////////////////////////////////////////// - - /*! Used as a section header for KDE-2 IDL methods */ - virtual QCString trDCOPMethods() - { - return "DCOP Member Functions"; - } - -////////////////////////////////////////////////////////////////////////// // new since 1.2.2 ////////////////////////////////////////////////////////////////////////// @@ -1441,14 +1407,6 @@ class TranslatorEnglish : public Translator // new since 1.3.3 ////////////////////////////////////////////////////////////////////////// - /*! When the search engine is enabled this text is put in the header - * of each page before the field where one can enter the text to search - * for. - */ - virtual QCString trSearchForIndex() - { - return "Search for"; - } /*! This string is used as the title for the page listing the search * results. */ @@ -1816,12 +1774,6 @@ class TranslatorEnglish : public Translator // new since 1.6.3 (missing items for the directory pages) ////////////////////////////////////////////////////////////////////////// - /*! introduction text for the directory dependency graph */ - virtual QCString trDirDependency(const char *name) - { - return (QCString)"Directory dependency graph for "+name; - } - /*! when clicking a directory dependency label, a page with a * table is shown. The heading for the first column mentions the * source file that has a relation to another file. -- cgit v0.12