summaryrefslogtreecommitdiffstats
path: root/parts/documentation/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/interfaces')
-rw-r--r--parts/documentation/interfaces/CMakeLists.txt8
-rw-r--r--parts/documentation/interfaces/kdevdocumentationplugin.cpp8
-rw-r--r--parts/documentation/interfaces/kdevdocumentationplugin.h4
-rw-r--r--parts/documentation/interfaces/tdevelopdocumentationplugins.desktop34
4 files changed, 13 insertions, 41 deletions
diff --git a/parts/documentation/interfaces/CMakeLists.txt b/parts/documentation/interfaces/CMakeLists.txt
index f4a2ff08..a3c1dd63 100644
--- a/parts/documentation/interfaces/CMakeLists.txt
+++ b/parts/documentation/interfaces/CMakeLists.txt
@@ -29,9 +29,11 @@ install( FILES
##### other data ################################
-install( FILES
- tdevelopdocumentationplugins.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdevelopdocumentationplugins.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### documentation_interfaces (shared) #########
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.cpp b/parts/documentation/interfaces/kdevdocumentationplugin.cpp
index 0282d82a..3b45e00a 100644
--- a/parts/documentation/interfaces/kdevdocumentationplugin.cpp
+++ b/parts/documentation/interfaces/kdevdocumentationplugin.cpp
@@ -24,7 +24,7 @@
#include <tqheader.h>
#include <tqtextstream.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kiconloader.h>
#include <tdeconfig.h>
#include <kdebug.h>
@@ -168,7 +168,7 @@ IndexItem::List IndexItem::urls() const
TQValueList<IndexItemProto*> itemProtos = m_listbox->items[text()];
for (TQValueList<IndexItemProto*>::const_iterator it = itemProtos.begin();
it != itemProtos.end(); ++it)
- urlList.append(tqMakePair((*it)->description(), (*it)->url()));
+ urlList.append(qMakePair((*it)->description(), (*it)->url()));
return urlList;
}
@@ -224,7 +224,7 @@ void ConfigurationItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colu
y = (fm.height() + 2 + marg - boxsize) / 2;
TQStyleOption opt(this);
- lv->style().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p,
+ lv->style().drawPrimitive(TQStyle::PE_CheckListIndicator, p,
TQRect(x, y, boxsize, fm.height() + 2 + marg), cg, styleflags, opt);
return;
@@ -685,7 +685,7 @@ ProjectDocumentationPlugin::ProjectDocumentationPlugin(DocumentationPlugin *docP
kdDebug() << "ProjectDocumentationPlugin::ProjectDocumentationPlugin for type " << type << endl;
m_watch = new KDirWatch(this);
- connect(m_watch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(reinit()));
+ connect(m_watch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(reinit()));
m_watch->startScan();
}
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.h b/parts/documentation/interfaces/kdevdocumentationplugin.h
index ba9d1948..0d8256f4 100644
--- a/parts/documentation/interfaces/kdevdocumentationplugin.h
+++ b/parts/documentation/interfaces/kdevdocumentationplugin.h
@@ -216,7 +216,7 @@ a list of URL's for the full text search tool.
*/
class DocumentationPlugin: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**Capability of documentation plugin.*/
@@ -390,7 +390,7 @@ friend class DocumentationCatalogItem;
Represents functionality to display project documentation catalog and index in documentation browser.
*/
class ProjectDocumentationPlugin: public TQObject {
- Q_OBJECT
+ TQ_OBJECT
public:
ProjectDocumentationPlugin(DocumentationPlugin *docPlugin, DocumentationPlugin::ProjectDocType type);
diff --git a/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop b/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop
index c56166bd..e159bc0f 100644
--- a/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop
+++ b/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop
@@ -1,36 +1,6 @@
[Desktop Entry]
+Name=TDevelop Documentation Plugin Interface
+
Type=ServiceType
X-TDE-ServiceType=TDevelop/DocumentationPlugins
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop Documentation Plugin Interface
-Name[ca]=Interfície de connectors de documentació de TDevelop
-Name[da]=TDevelop grænseflade for dokumentations-plugin
-Name[de]=Schnittstelle für Dokumentationsmodul (TDevelop)
-Name[el]=Διασύνδεση πρόσθετου τεκμηρίωσης TDevelop
-Name[es]=Interfaz de complemento de documentación de TDevelop
-Name[et]=TDevelopi dokumentatsiooniplugina liides
-Name[eu]=TDevelop-en dokumentazio plugin interfazea
-Name[fa]=واسط وصلۀ مستندات TDevelop
-Name[fr]=Interface du module externe de documentation de TDevelop
-Name[gl]=Interface da extensión de documentación de TDevelop
-Name[hu]=TDevelop dokumentációmodul-felület
-Name[it]=Interfaccia a plugin della documentazione di TDevelop
-Name[ja]=TDevelop ドキュメンテーションプラグイン インターフェース
-Name[ms]=Antaramuka Plugin Dokumentasi TDevelop
-Name[nds]=TDevelop-Koppelsteed för't Dokmentatschoon-Moduul
-Name[ne]=केडीई विकास मिसिलीकरण प्लगइन इन्टरफेस
-Name[nl]=TDevelop Documentatie Plugin Interface
-Name[pl]=Interfejs do wtyczki dokumentacji dla TDevelop
-Name[pt]=Interface de 'Plugin' de Documentação do TDevelop
-Name[pt_BR]=Interface de Plug-in de Documentação do TDevelop
-Name[ru]=Интерфейс для модулей документации TDevelop
-Name[sk]=TDevelop rozhranie pre dokumentačný modul
-Name[sl]=Vmesnik vstavka dokumentacije v TDevelopu
-Name[sr]=Интерфејс TDevelop-овог прикључка за документацију
-Name[sr@Latn]=Interfejs TDevelop-ovog priključka za dokumentaciju
-Name[sv]=TDevelop insticksgränssnitt för dokumentation
-Name[ta]=Kமுன்னேற்று தொகுப்பான் தேர்வுகள் உரை இடைமுகம் உள்ளீடு
-Name[tg]=Интерфейс барои модулҳои ҳуҷҷатноки TDevelop
-Name[tr]=TDevelop Belgelendirme Eklentisi Arayüzü
-Name[zh_CN]=TDevelop 文档插件接口
-Name[zh_TW]=TDevelop 文件外掛程式介面