summaryrefslogtreecommitdiffstats
path: root/lib/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces')
-rw-r--r--lib/interfaces/CMakeLists.txt7
-rw-r--r--lib/interfaces/KDevCoreIface.cpp4
-rw-r--r--lib/interfaces/KDevCoreIface.h2
-rw-r--r--lib/interfaces/KDevPartControllerIface.cpp6
-rw-r--r--lib/interfaces/KDevPartControllerIface.h2
-rw-r--r--lib/interfaces/extensions/CMakeLists.txt11
-rw-r--r--lib/interfaces/extensions/Mainpage.dox2
-rw-r--r--lib/interfaces/extensions/codebrowserfrontend.h2
-rw-r--r--lib/interfaces/extensions/kdevappfrontend.h2
-rw-r--r--lib/interfaces/extensions/kdevmakefrontend.h2
-rw-r--r--lib/interfaces/extensions/kdevversioncontrol.h4
-rw-r--r--lib/interfaces/extensions/tdevelopappfrontend.desktop31
-rw-r--r--lib/interfaces/extensions/tdevelopcodebrowserfrontend.desktop22
-rw-r--r--lib/interfaces/extensions/tdevelopcreatefile.desktop31
-rw-r--r--lib/interfaces/extensions/tdevelopdifffrontend.desktop34
-rw-r--r--lib/interfaces/extensions/tdevelopmakefrontend.desktop34
-rw-r--r--lib/interfaces/extensions/tdevelopquickopen.desktop49
-rw-r--r--lib/interfaces/extensions/tdevelopsourceformatter.desktop32
-rw-r--r--lib/interfaces/extensions/tdevelopversioncontrol.desktop33
-rw-r--r--lib/interfaces/external/CMakeLists.txt4
-rw-r--r--lib/interfaces/external/Mainpage.dox16
-rw-r--r--lib/interfaces/external/designer.h2
-rw-r--r--lib/interfaces/extras/CMakeLists.txt8
-rw-r--r--lib/interfaces/extras/kdevcompileroptions.h2
-rw-r--r--lib/interfaces/extras/kdevvcsintegrator.h2
-rw-r--r--lib/interfaces/extras/tdevelopcompileroptions.desktop35
-rw-r--r--lib/interfaces/extras/tdevelopvcsintegrator.desktop29
-rw-r--r--lib/interfaces/katedocumentmanagerinterface.cpp2
-rw-r--r--lib/interfaces/katedocumentmanagerinterface.h2
-rw-r--r--lib/interfaces/kdevapi.h2
-rw-r--r--lib/interfaces/kdevcoderepository.h2
-rw-r--r--lib/interfaces/kdevcore.h8
-rw-r--r--lib/interfaces/kdevdesignerintegration.h2
-rw-r--r--lib/interfaces/kdevgenericfactory.h8
-rw-r--r--lib/interfaces/kdevlanguagesupport.cpp4
-rw-r--r--lib/interfaces/kdevlanguagesupport.h8
-rw-r--r--lib/interfaces/kdevpartcontroller.h2
-rw-r--r--lib/interfaces/kdevplugin.h2
-rw-r--r--lib/interfaces/kdevplugincontroller.cpp13
-rw-r--r--lib/interfaces/kdevplugincontroller.h2
-rw-r--r--lib/interfaces/kdevproject.cpp10
-rw-r--r--lib/interfaces/kdevproject.h2
-rw-r--r--lib/interfaces/kdevprojectiface.h2
-rw-r--r--lib/interfaces/tdeveloplanguagesupport.desktop34
-rw-r--r--lib/interfaces/tdevelopplugin.desktop34
-rw-r--r--lib/interfaces/tdevelopproject.desktop33
46 files changed, 97 insertions, 483 deletions
diff --git a/lib/interfaces/CMakeLists.txt b/lib/interfaces/CMakeLists.txt
index 94b07bec..f24e2e87 100644
--- a/lib/interfaces/CMakeLists.txt
+++ b/lib/interfaces/CMakeLists.txt
@@ -36,10 +36,13 @@ install( FILES
hashedstring.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/interfaces )
-install( FILES
+tde_create_translated_desktop(
+ SOURCE
tdevelopproject.desktop tdeveloplanguagesupport.desktop
tdevelopplugin.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### kdevinterfaces (static) ###################
diff --git a/lib/interfaces/KDevCoreIface.cpp b/lib/interfaces/KDevCoreIface.cpp
index aa70e01b..c86e3562 100644
--- a/lib/interfaces/KDevCoreIface.cpp
+++ b/lib/interfaces/KDevCoreIface.cpp
@@ -29,8 +29,8 @@
KDevCoreIface::KDevCoreIface(KDevCore *core)
: TQObject(core), DCOPObject("KDevCore"), m_core(core)
{
- connect( m_core, TQT_SIGNAL(projectOpened()), this, TQT_SLOT(forwardProjectOpened()) );
- connect( m_core, TQT_SIGNAL(projectClosed()), this, TQT_SLOT(forwardProjectClosed()) );
+ connect( m_core, TQ_SIGNAL(projectOpened()), this, TQ_SLOT(forwardProjectOpened()) );
+ connect( m_core, TQ_SIGNAL(projectClosed()), this, TQ_SLOT(forwardProjectClosed()) );
}
diff --git a/lib/interfaces/KDevCoreIface.h b/lib/interfaces/KDevCoreIface.h
index 612c8457..7a985931 100644
--- a/lib/interfaces/KDevCoreIface.h
+++ b/lib/interfaces/KDevCoreIface.h
@@ -29,7 +29,7 @@ class KDevCore;
class KDevCoreIface : public TQObject, public DCOPObject
{
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
diff --git a/lib/interfaces/KDevPartControllerIface.cpp b/lib/interfaces/KDevPartControllerIface.cpp
index 1b184453..60c9ef97 100644
--- a/lib/interfaces/KDevPartControllerIface.cpp
+++ b/lib/interfaces/KDevPartControllerIface.cpp
@@ -28,9 +28,9 @@
KDevPartControllerIface::KDevPartControllerIface(KDevPartController *pc)
: TQObject(pc), DCOPObject("KDevPartController"), m_controller(pc)
{
- connect(pc, TQT_SIGNAL(loadedFile(const KURL &)), this, TQT_SLOT(forwardLoadedFile(const KURL &)));
- connect(pc, TQT_SIGNAL(savedFile(const KURL &)), this, TQT_SLOT(forwardSavedFile(const KURL &)));
- connect(pc, TQT_SIGNAL(closedFile(const KURL &)), this, TQT_SLOT(forwardClosedFile(const KURL &)));
+ connect(pc, TQ_SIGNAL(loadedFile(const KURL &)), this, TQ_SLOT(forwardLoadedFile(const KURL &)));
+ connect(pc, TQ_SIGNAL(savedFile(const KURL &)), this, TQ_SLOT(forwardSavedFile(const KURL &)));
+ connect(pc, TQ_SIGNAL(closedFile(const KURL &)), this, TQ_SLOT(forwardClosedFile(const KURL &)));
}
diff --git a/lib/interfaces/KDevPartControllerIface.h b/lib/interfaces/KDevPartControllerIface.h
index 8c3647ea..b37bf1df 100644
--- a/lib/interfaces/KDevPartControllerIface.h
+++ b/lib/interfaces/KDevPartControllerIface.h
@@ -27,7 +27,7 @@ class KDevPartController;
class KDevPartControllerIface : public TQObject, public DCOPObject
{
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
diff --git a/lib/interfaces/extensions/CMakeLists.txt b/lib/interfaces/extensions/CMakeLists.txt
index 459c1197..73708856 100644
--- a/lib/interfaces/extensions/CMakeLists.txt
+++ b/lib/interfaces/extensions/CMakeLists.txt
@@ -27,24 +27,27 @@ install( FILES
kdevsourceformatter.h kdevversioncontrol.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/interfaces/extensions )
-install( FILES
+tde_create_translated_desktop(
+ SOURCE
tdevelopappfrontend.desktop tdevelopcodebrowserfrontend.desktop
tdevelopcreatefile.desktop tdevelopdifffrontend.desktop
tdevelopmakefrontend.desktop tdevelopquickopen.desktop
tdevelopsourceformatter.desktop tdevelopversioncontrol.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### kdevextensions (static) ###################
add_custom_command( OUTPUT codebrowserfrontend.moc.cpp
COMMAND
- ${TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/codebrowserfrontend.h -o codebrowserfrontend.moc.cpp
+ ${TQMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/codebrowserfrontend.h -o codebrowserfrontend.moc.cpp
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/codebrowserfrontend.h )
add_custom_command( OUTPUT kdevversioncontrol.moc.cpp
COMMAND
- ${TMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/kdevversioncontrol.h -o kdevversioncontrol.moc.cpp
+ ${TQMOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/kdevversioncontrol.h -o kdevversioncontrol.moc.cpp
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kdevversioncontrol.h )
tde_add_library( kdevextensions STATIC_PIC AUTOMOC
diff --git a/lib/interfaces/extensions/Mainpage.dox b/lib/interfaces/extensions/Mainpage.dox
index 3b493fde..175909c3 100644
--- a/lib/interfaces/extensions/Mainpage.dox
+++ b/lib/interfaces/extensions/Mainpage.dox
@@ -38,7 +38,7 @@ those should be loaded at a time. This can be accomplished by:
@code
class KDevMyExtension: public KDevPlugin {
public:
- KDevMyExtension(const KDevPluginInfo *info, QObject* parent, const char* name)
+ KDevMyExtension(const KDevPluginInfo *info, TQObject* parent, const char* name)
:KDevPlugin(info, parent, name) {}
virtual void doSomething() = 0;
diff --git a/lib/interfaces/extensions/codebrowserfrontend.h b/lib/interfaces/extensions/codebrowserfrontend.h
index 49dd95a8..eddad758 100644
--- a/lib/interfaces/extensions/codebrowserfrontend.h
+++ b/lib/interfaces/extensions/codebrowserfrontend.h
@@ -26,7 +26,7 @@
namespace Extensions {
class KDevCodeBrowserFrontend : public KDevPlugin {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/interfaces/extensions/kdevappfrontend.h b/lib/interfaces/extensions/kdevappfrontend.h
index 76952f35..f175ee92 100644
--- a/lib/interfaces/extensions/kdevappfrontend.h
+++ b/lib/interfaces/extensions/kdevappfrontend.h
@@ -56,7 +56,7 @@ if (apf) {
*/
class KDevAppFrontend : public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/interfaces/extensions/kdevmakefrontend.h b/lib/interfaces/extensions/kdevmakefrontend.h
index 52afa3d3..ea869e30 100644
--- a/lib/interfaces/extensions/kdevmakefrontend.h
+++ b/lib/interfaces/extensions/kdevmakefrontend.h
@@ -52,7 +52,7 @@ if (mf) {
*/
class KDevMakeFrontend : public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/interfaces/extensions/kdevversioncontrol.h b/lib/interfaces/extensions/kdevversioncontrol.h
index a19c6275..ede2cf91 100644
--- a/lib/interfaces/extensions/kdevversioncontrol.h
+++ b/lib/interfaces/extensions/kdevversioncontrol.h
@@ -134,7 +134,7 @@ if (vcs) {
*/
class KDevVersionControl: public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -184,7 +184,7 @@ Basic interface for providing info on file registered in a version control repos
*/
class KDevVCSFileInfoProvider: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**Constructor.
diff --git a/lib/interfaces/extensions/tdevelopappfrontend.desktop b/lib/interfaces/extensions/tdevelopappfrontend.desktop
index 04e9a59b..74164817 100644
--- a/lib/interfaces/extensions/tdevelopappfrontend.desktop
+++ b/lib/interfaces/extensions/tdevelopappfrontend.desktop
@@ -1,38 +1,9 @@
[Desktop Entry]
+Name=App Frontend Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/AppFrontend
X-TDE-Derived=TDevelop/Plugin
-Name=App Frontend Interface
-Name[ca]=Interfície de l'entorn de les aplicacions
-Name[da]=Programbrugerflade-grænseflade
-Name[de]=Oberflächen-Schnittstelle (TDevelop)
-Name[el]=Διασύνδεση προγράμματος App
-Name[es]=Interfaz de entorno de aplicación
-Name[et]=Rakenduse kasutajaliides
-Name[eu]=Aplikazioaren inguruneko interfazea
-Name[fa]=واسط پایانۀ کاربرد
-Name[fr]=Interface graphique pour une application
-Name[gl]=Interface do frontal da aplicación
-Name[hu]=Alkalmazás kezelőfelülete
-Name[it]=Applicazione per le interfacce
-Name[ja]=App フロントエンド インターフェース
-Name[nds]=Programmböversiet-Koppelsteed
-Name[ne]=एप फ्रेन्टइन्ड इन्टरफेस
-Name[pl]=Interfejs do programów
-Name[pt]=Interface da Aplicação
-Name[pt_BR]=Interface Frontend para Aplicativos
-Name[ru]=Интерфейс менеджера приложений
-Name[sk]=Aplikačné rozhranie
-Name[sr]=Кориснички интерфејс програма
-Name[sr@Latn]=Korisnički interfejs programa
-Name[sv]=Programgränssnitt
-Name[ta]=ஆப் முன்னிருந்த இடைமுகம்
-Name[tg]=Интерфейси мудири гузориш
-Name[tr]=Uygulama Önucu Arayüzü
-Name[zh_CN]=应用程序前端接口
-Name[zh_TW]=App 前端介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/extensions/tdevelopcodebrowserfrontend.desktop b/lib/interfaces/extensions/tdevelopcodebrowserfrontend.desktop
index 55e6dd3d..7d5fd192 100644
--- a/lib/interfaces/extensions/tdevelopcodebrowserfrontend.desktop
+++ b/lib/interfaces/extensions/tdevelopcodebrowserfrontend.desktop
@@ -1,28 +1,8 @@
[Desktop Entry]
+Name=Code Browser Frontend
Type=ServiceType
X-TDE-ServiceType=TDevelop/CodeBrowserFrontend
X-TDE-Derived=TDevelop/Plugin
-Name=Code Browser Frontend
-Name[ca]=Interfície per al navegador de codi
-Name[da]=Kodebrowser-grænseflade
-Name[de]=Quelltextbrowser-Oberfläche
-Name[el]=Πρόγραμμα περιήγησης κώδικα
-Name[es]=Interfaz para el navegador de código
-Name[et]=Koodibrauseri kasutajaliides
-Name[fr]=Interface de navigation dans le code
-Name[hu]=Kódböngésző
-Name[it]=Interfaccia di navigazione del codice
-Name[ja]=コードブラウザのフロントエンド
-Name[nds]=Kodekieker-Böversiet
-Name[pl]=Interfejs do przeglądarki kodu
-Name[pt]=Interface de Navegação do Código
-Name[pt_BR]=Interface de Navegação do Código
-Name[ru]=Навигатор по коду
-Name[sk]=Rozhranie pre prehliadač kódu
-Name[sr]=Интерфејс прегледача кода
-Name[sr@Latn]=Interfejs pregledača koda
-Name[sv]=Kodbläddringsgränssnitt
-Name[zh_TW]=源碼瀏覽器前端介面
[PropertyDef::X-TDevelop-Version]
Type=int
diff --git a/lib/interfaces/extensions/tdevelopcreatefile.desktop b/lib/interfaces/extensions/tdevelopcreatefile.desktop
index fdbb2875..3cc53b2d 100644
--- a/lib/interfaces/extensions/tdevelopcreatefile.desktop
+++ b/lib/interfaces/extensions/tdevelopcreatefile.desktop
@@ -1,38 +1,9 @@
[Desktop Entry]
+Name=TDevelop Create File Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/CreateFile
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop Create File Interface
-Name[ca]=Interfície de creació de fitxers per a TDevelop
-Name[da]=TDevelop opret filgrænseflade
-Name[de]=TDevelop-Schnittstelle zum Anlegen von Dateien
-Name[el]=Διασύνδεση δημιουργίας αρχείου TDevelop
-Name[es]=Interfaz de creación de archivos de TDevelop
-Name[et]=TDevelopi faili loomise liides
-Name[eu]=TDevelop-en "Sortu fitxategia" interfazea
-Name[fa]=واسط پروندۀ ایجاد TDevelop
-Name[fr]=Interface de création de fichiers pour TDevelop
-Name[gl]=Interface de crear ficheiro de TDevelop
-Name[hu]=TDevelop fájllétrehozási felület
-Name[it]=Interfaccia TDevelop per creare file
-Name[ja]=TDevelop Create File インターフェース
-Name[nds]=TDevelop-Koppelsteed för't Dateiopstellen
-Name[ne]=केडीई विकास फाइल इन्टरफेस सिर्जना
-Name[nl]=TDevelop Bestand aanmaken-interface
-Name[pl]=Interfejs TDevelopa do tworzenia pliku
-Name[pt]=Interface de Criação de Ficheiro do TDevelop
-Name[pt_BR]=Interface para Criar Arquivo do TDevelop
-Name[ru]=Интерфейс средства создания файлов для TDevelop
-Name[sk]=TDevelop rozhranie na vytvorenie súboru
-Name[sl]=Vmesnik za ustvarjanje datotek v TDevelopu
-Name[sr]=TDevelop-ов интерфејс за прављење фајла
-Name[sr@Latn]=TDevelop-ov interfejs za pravljenje fajla
-Name[sv]=TDevelop gränssnitt för att skapa filer
-Name[tr]=TDevelop Dosya Yaratma Arayüzü
-Name[zh_CN]=TDevelop 文件创建接口
-Name[zh_TW]=TDevelop 建立檔案介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/extensions/tdevelopdifffrontend.desktop b/lib/interfaces/extensions/tdevelopdifffrontend.desktop
index 899654c5..a8fe0861 100644
--- a/lib/interfaces/extensions/tdevelopdifffrontend.desktop
+++ b/lib/interfaces/extensions/tdevelopdifffrontend.desktop
@@ -1,41 +1,9 @@
[Desktop Entry]
+Name=Diff Frontend Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/DiffFrontend
X-TDE-Derived=TDevelop/Plugin
-Name=Diff Frontend Interface
-Name[ca]=Interfície de l'entorn per a diff
-Name[da]=Diff-brugerflade grænseflade
-Name[de]=Schnittstelle für Diff-Oberflächen (TDevelop)
-Name[el]=Διασύνδεση προγράμματος Diff
-Name[es]=Interfaz del entorno de diff
-Name[et]=Diff kasutajaliides
-Name[eu]=Desberdintasun ingurunearen interfazea
-Name[fa]=واسط پایانۀ تفاوت
-Name[fr]=Interface du programme « Diff »
-Name[gl]=Interface do frontal de Diff
-Name[hi]=डिफ़ फ्रन्टएण्ड इंटरफ़ेस
-Name[hu]=Diff-kezelési felület
-Name[it]=Interfaccia a Diff
-Name[ja]=Diff フロントエンド インターフェース
-Name[nds]=Koppelsteed för "Diff"-Böversiet
-Name[ne]=डिफ फ्रेन्टइन्ड इन्टरफेस
-Name[nl]=Diff Frontend-interface
-Name[pl]=Interfejs do programu diff
-Name[pt]=Interface para o 'Diff'
-Name[pt_BR]=Interface de Frontend do Diff
-Name[ru]=Интерфейс системы нахождения различий
-Name[sk]=Rozhranie rozdielu
-Name[sl]=Vmesnik za diff
-Name[sr]=Кориснички интерфејс за diff
-Name[sr@Latn]=Korisnički interfejs za diff
-Name[sv]=Gränssnitt för jämförelse
-Name[ta]=டிப் முன்நிறுத்த இடைமுகம்
-Name[tg]=Барномаи интерфейс барои ёфтани тағирпазирӣ
-Name[tr]=Diff Önuç Arayüzü
-Name[zh_CN]=Diff 前端接口
-Name[zh_TW]=Diff 前端介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/extensions/tdevelopmakefrontend.desktop b/lib/interfaces/extensions/tdevelopmakefrontend.desktop
index a57cfeba..a8df77f8 100644
--- a/lib/interfaces/extensions/tdevelopmakefrontend.desktop
+++ b/lib/interfaces/extensions/tdevelopmakefrontend.desktop
@@ -1,41 +1,9 @@
[Desktop Entry]
+Name=Make Frontend Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/MakeFrontend
X-TDE-Derived=TDevelop/Plugin
-Name=Make Frontend Interface
-Name[ca]=Interfície de l'entorn per a make
-Name[da]=Make brugerflade-grænseflade
-Name[de]=Schnittstelle für Make-Oberflächen (TDevelop)
-Name[el]=Διασύνδεση προγράμματος Make
-Name[es]=Interfaz del entorno de make
-Name[et]=Make kasutajaliides
-Name[eu]=Make ingurunearen interfazea
-Name[fa]=واسط پایانۀ Make
-Name[fr]=Interface du programme « make »
-Name[gl]=Interface do frontal de Make
-Name[hi]=मेक फ्रन्टएण्ड इंटरफ़ेस
-Name[hu]=Make kezelőfelület
-Name[it]=Interfaccia per Make
-Name[ja]=Make フロントエンド インターフェース
-Name[nds]=Koppelsteed för "Make"-Böversiet
-Name[ne]=मेक फ्रेन्टइन्ड इन्टरफेस
-Name[nl]=Make Frontend-interface
-Name[pl]=Interfejs do Make
-Name[pt]=Interface para o Make
-Name[pt_BR]=Interface de Frontend do Make
-Name[ru]=Интерфейс Make
-Name[sk]=Rozhranie pre make
-Name[sl]=Vmesnik za make
-Name[sr]=Кориснички интерфејс за make
-Name[sr@Latn]=Korisnički interfejs za make
-Name[sv]=Byggränssnitt
-Name[ta]=முன்பகுதி இடை விளிம்பை அமை
-Name[tg]=Интерфейс пӯсти Make
-Name[tr]=Make Önuç Arayüzü
-Name[zh_CN]=Make 前端接口
-Name[zh_TW]=Make 前端介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/extensions/tdevelopquickopen.desktop b/lib/interfaces/extensions/tdevelopquickopen.desktop
index 5ad3beab..5f07827e 100644
--- a/lib/interfaces/extensions/tdevelopquickopen.desktop
+++ b/lib/interfaces/extensions/tdevelopquickopen.desktop
@@ -1,58 +1,9 @@
[Desktop Entry]
-Type=ServiceType
-X-TDE-ServiceType=TDevelop/QuickOpen
-X-TDE-Derived=TDevelop/Plugin
Name=Quick Open Interface
-Name[ca]=Interfície Open Quick
-Name[da]=Quick Open-grænseflade
-Name[de]=Schnittstelle für Schnellöffnen
-Name[el]=Διασύνδεση γρήγορου ανοίγματος
-Name[es]=Interfaz de apertura rápida
-Name[et]=Kiiravamise kasutajaliides
-Name[hu]=Gyors megnyitási kezelőfelület
-Name[it]=Interfaccia Quick Open
-Name[nds]=Fixopmaak-Koppelsteed
-Name[nl]=Snelopen-interface
-Name[pl]=Open Interface
-Name[pt]=Interface de Abertura Rápida
-Name[pt_BR]=Interface de Abertura Rápida
-Name[ru]=Интерфейс быстрого открытия
-Name[sk]=Rozhranie pre Quick Open
-Name[sr]=Интерфејс брзог отварања
-Name[sr@Latn]=Interfejs brzog otvaranja
-Name[sv]=Snabböppningsgränssnitt
-Name[zh_TW]=快速開啟介面
-
-# versioning - prevent DLL hell
-[PropertyDef::X-TDevelop-Version]
-Type=int
-
-[Desktop Entry]
Type=ServiceType
X-TDE-ServiceType=TDevelop/QuickOpen
X-TDE-Derived=TDevelop/Plugin
-Name=Quick Open Interface
-Name[ca]=Interfície Open Quick
-Name[da]=Quick Open-grænseflade
-Name[de]=Schnittstelle für Schnellöffnen
-Name[el]=Διασύνδεση γρήγορου ανοίγματος
-Name[es]=Interfaz de apertura rápida
-Name[et]=Kiiravamise kasutajaliides
-Name[hu]=Gyors megnyitási kezelőfelület
-Name[it]=Interfaccia Quick Open
-Name[nds]=Fixopmaak-Koppelsteed
-Name[nl]=Snelopen-interface
-Name[pl]=Open Interface
-Name[pt]=Interface de Abertura Rápida
-Name[pt_BR]=Interface de Abertura Rápida
-Name[ru]=Интерфейс быстрого открытия
-Name[sk]=Rozhranie pre Quick Open
-Name[sr]=Интерфејс брзог отварања
-Name[sr@Latn]=Interfejs brzog otvaranja
-Name[sv]=Snabböppningsgränssnitt
-Name[zh_TW]=快速開啟介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/extensions/tdevelopsourceformatter.desktop b/lib/interfaces/extensions/tdevelopsourceformatter.desktop
index 1352a523..af3c8960 100644
--- a/lib/interfaces/extensions/tdevelopsourceformatter.desktop
+++ b/lib/interfaces/extensions/tdevelopsourceformatter.desktop
@@ -1,39 +1,9 @@
[Desktop Entry]
+Name=Source Formatter Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/SourceFormatter
X-TDE-Derived=TDevelop/Plugin
-Name=Source Formatter Interface
-Name[ca]=Interfície del formatador de codi font
-Name[da]=Kildekodeformatering grænseflade
-Name[de]=Quelltext-Formatierer-Schnittstelle (TDevelop)
-Name[el]=Διασύνδεση μορφοποίησης κώδικα
-Name[es]=Interfaz del formateador de código fuente
-Name[et]=Koodi vormindamise liides
-Name[eu]=Iturburu formateatzailearen interfazea
-Name[fa]=واسط قالب‌دهندۀ منبع
-Name[fr]=Interface pour le formatage de code source
-Name[gl]=Interface do formateador de código
-Name[hu]=Forrásformázási felület
-Name[it]=Interfaccia per il formattatore del codice sorgente
-Name[ja]=ソースフォーマッタ インターフェース
-Name[nds]=Koppelsteed för Borntext-Formaterer
-Name[ne]=स्रोत ढाँचाबद्धक इन्टरफेस
-Name[nl]=Broncode formatteren-interface
-Name[pl]=Interfejs do programu formatowania źródeł
-Name[pt]=Interface de Formatação de Código
-Name[pt_BR]=Interface de Formatação de Fonte
-Name[ru]=Интерфейс форматирования исходного кода
-Name[sk]=Rozhranie pre formátovanie
-Name[sr]=Интерфејс форматера изворног кода
-Name[sr@Latn]=Interfejs formatera izvornog koda
-Name[sv]=Gränssnitt för källkodsformatering
-Name[ta]=வடிவமைப்பவரின் இடை விளிம்பு மூலம்
-Name[tg]=Интерфейс қолабгузори коди берунӣ
-Name[tr]=Kaynak Biçimleyici Arayüzü
-Name[zh_CN]=源代码格式化接口
-Name[zh_TW]=程式碼格式化介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/extensions/tdevelopversioncontrol.desktop b/lib/interfaces/extensions/tdevelopversioncontrol.desktop
index 97ea5ef9..8aa2050d 100644
--- a/lib/interfaces/extensions/tdevelopversioncontrol.desktop
+++ b/lib/interfaces/extensions/tdevelopversioncontrol.desktop
@@ -1,40 +1,9 @@
[Desktop Entry]
+Name=TDevelop Version Control Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/VersionControl
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop Version Control Interface
-Name[ca]=Interfície del control de versions per a TDevelop
-Name[da]=TDevelop versionskontrol grænseflade
-Name[de]=Versionsverwaltung-Schnittstelle (TDevelop)
-Name[el]=Διασύνδεση ελέγχου εκδόσεων TDevelop
-Name[es]=Interfaz del control de versiones de TDevelop
-Name[et]=TDevelopi versioonide kontrollimise liides
-Name[eu]=TDevelop bertsio kontrol interfazea
-Name[fa]=واسط کنترل نسخۀ TDevelop
-Name[fr]=Interface pour le contrôle de versions de TDevelop
-Name[gl]=Interface do control de versións de TDevelop
-Name[hi]=के-डेवलप संस्करण नियंत्रण इंटरफ़ेस
-Name[hu]=TDevelop verziókezelési felület
-Name[ja]=TDevelop バージョンコントロール インターフェース
-Name[nds]=Verschoonkuntrull-Koppelsteed vun TDevelop
-Name[ne]=केडीई विकास संस्करण नियन्त्रण इन्टरफेस
-Name[nl]=TDevelop Versiebeheer-interface
-Name[pl]=Interfejs Kdevelopa do kontroli wersji
-Name[pt]=Interface de Controlo de Versões do TDevelop
-Name[pt_BR]=Interface de Controle de Versão do TDevelop
-Name[ru]=Интерфейс системы управления версиями
-Name[sk]=TDevelop rozhranie pre riadenie verzií
-Name[sl]=Vmesnik nadzora različic za TDevelop
-Name[sr]=TDevelop-ов интерфејс за контролу верзије
-Name[sr@Latn]=TDevelop-ov interfejs za kontrolu verzije
-Name[sv]=TDevelop gränssnitt för versionskontroll
-Name[ta]=TDevelop பதிப்பு கட்டுப்பாட்டு இடைஇணைப்பு
-Name[tg]=Интерфейс барномаи идоракунии тафсирҳо
-Name[tr]=TDevelop Sürüm Kontrol Arayüzü
-Name[zh_CN]=TDevelop 版本控制接口
-Name[zh_TW]=TDevelop 版本控制介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/external/CMakeLists.txt b/lib/interfaces/external/CMakeLists.txt
index 353721fd..46e2bfa7 100644
--- a/lib/interfaces/external/CMakeLists.txt
+++ b/lib/interfaces/external/CMakeLists.txt
@@ -15,6 +15,10 @@ include_directories(
${TQT_INCLUDE_DIRS}
)
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
##### headers ###################################
diff --git a/lib/interfaces/external/Mainpage.dox b/lib/interfaces/external/Mainpage.dox
index 8c22ba73..7c97cf16 100644
--- a/lib/interfaces/external/Mainpage.dox
+++ b/lib/interfaces/external/Mainpage.dox
@@ -10,23 +10,23 @@ GUI Designer integration framework.
\section designerintegration Overview of GUI designer integration process
Each KPart that wants to act as a GUI Designer must implement @ref KInterfaceDesigner::Designer
-interface. It defines necessary Q_SIGNALS to communicate with an IDE and abstract virtual
+interface. It defines necessary signals to communicate with an IDE and abstract virtual
functions to determine designer type.
If a part which can "design" user interface files of a certain mimetype
implements this interface and sets itself as a default handler for that
mimetype then it becomes automatically integrated into TDevelop IDE.
-When a part is embedded into TDevelop shell, its Q_SIGNALS (defined in @ref
+When a part is embedded into TDevelop shell, its signals (defined in @ref
KInterfaceDesigner::Designer interface):
@code
- void addedFunction(DesignerType type, const QString &formName, Function function)
- void removedFunction(DesignerType type, const QString &formName, Function function)
- void editedFunction(DesignerType type, const QString &formName, Function oldFunction, Function function)
- void editFunction(DesignerType type, const QString &formName, const QString &functionName)
- void editSource(DesignerType type, const QString &formName);
+ void addedFunction(DesignerType type, const TQString &formName, Function function)
+ void removedFunction(DesignerType type, const TQString &formName, Function function)
+ void editedFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function)
+ void editFunction(DesignerType type, const TQString &formName, const TQString &functionName)
+ void editSource(DesignerType type, const TQString &formName);
@endcode
-are connected to corresponding Q_SLOTS of TDevelop designer integration engine which can be implemented in TDevelop language support plugin.
+are connected to corresponding slots of TDevelop designer integration engine which can be implemented in TDevelop language support plugin.
Each language support which wants to use integrated designer, must reimplement
@code
diff --git a/lib/interfaces/external/designer.h b/lib/interfaces/external/designer.h
index b84e2268..73420496 100644
--- a/lib/interfaces/external/designer.h
+++ b/lib/interfaces/external/designer.h
@@ -64,7 +64,7 @@ implements this interface and sets itself as a default handler for that
mimetype then it becomes automatically integrated into TDevelop IDE.
*/
class Designer: public KParts::ReadWritePart{
- Q_OBJECT
+ TQ_OBJECT
public:
Designer(TQObject *parent, const char *name);
diff --git a/lib/interfaces/extras/CMakeLists.txt b/lib/interfaces/extras/CMakeLists.txt
index eb4cdb75..5ae51881 100644
--- a/lib/interfaces/extras/CMakeLists.txt
+++ b/lib/interfaces/extras/CMakeLists.txt
@@ -25,9 +25,11 @@ install( FILES
kdevcompileroptions.h kdevvcsintegrator.h
DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/interfaces/extras )
-install( FILES
- tdevelopcompileroptions.desktop tdevelopvcsintegrator.desktop
- DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdevelopcompileroptions.desktop tdevelopvcsintegrator.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR tdevelop-desktops
+)
##### kdevextras (shared) #######################
diff --git a/lib/interfaces/extras/kdevcompileroptions.h b/lib/interfaces/extras/kdevcompileroptions.h
index 6544c5d0..c6719e27 100644
--- a/lib/interfaces/extras/kdevcompileroptions.h
+++ b/lib/interfaces/extras/kdevcompileroptions.h
@@ -71,7 +71,7 @@ if ( plugin )
*/
class KDevCompilerOptions : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/interfaces/extras/kdevvcsintegrator.h b/lib/interfaces/extras/kdevvcsintegrator.h
index 793070b3..41faf993 100644
--- a/lib/interfaces/extras/kdevvcsintegrator.h
+++ b/lib/interfaces/extras/kdevvcsintegrator.h
@@ -63,7 +63,7 @@ VCS integrator takes care about setting up VCS for new and existing projects.
It can, for example, perform checkout or import operations.
*/
class KDevVCSIntegrator: public TQObject {
- Q_OBJECT
+ TQ_OBJECT
public:
KDevVCSIntegrator(TQObject *parent = 0, const char *name = 0);
diff --git a/lib/interfaces/extras/tdevelopcompileroptions.desktop b/lib/interfaces/extras/tdevelopcompileroptions.desktop
index 2aaefcff..8ba727a3 100644
--- a/lib/interfaces/extras/tdevelopcompileroptions.desktop
+++ b/lib/interfaces/extras/tdevelopcompileroptions.desktop
@@ -1,40 +1,8 @@
[Desktop Entry]
+Name=TDevelop Compiler Options Dialog Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/CompilerOptions
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop Compiler Options Dialog Interface
-Name[ca]=Interfície del diàleg d'opcions del compilador per a TDevelop
-Name[da]=TDevelop grænseflade til oversætterindstillinger
-Name[de]=Schnittstelle für Compiler-Einstellungsdialoge (TDevelop)
-Name[el]=Διασύνδεση διαλόγου επιλογών μεταγλωττιστή TDevelop
-Name[en_GB]=TDevelop Compiler Options Dialogue Interface
-Name[es]=Interfaz del diálogo de opciones del compilador de TDevelop
-Name[et]=TDevelopi kompilaatori valikute dialoogiliides
-Name[eu]=TDevelop-en konpiladore aukeren elkarrizketa-koadro interfazea
-Name[fa]=واسط محاورۀ گزینه‌های مترجم TDevelop
-Name[fr]=Interface de la boîte de dialogue des options du compilateur de TDevelop
-Name[gl]=Interface do diálogo de opcións de compilación de TDevelop
-Name[hi]=के-डेवलप कम्पायलर विकल्प संवाद इंटरफ़ेस
-Name[hu]=A TDevelop fordítási opcióinak párbeszédablaka
-Name[it]=Interfaccia TDevelop per le opzioni di compilazione
-Name[ja]=TDevelop コンパイラオプションダイアログ インターフェース
-Name[nds]=TDevelop-Dialoogkoppelsteed för Kompilerer-Optschonen
-Name[ne]=केडीई विकास कम्पाइलर विकल्प संवाद इन्टरफेस
-Name[nl]=TDevelop Compileroptiesdialoog-interface
-Name[pl]=Interfejs TDevelopa do okna dialogowego opcji kompilatora
-Name[pt]=Interface da Janela de Opções do Compilador do TDevelop
-Name[pt_BR]=Interface de Diálogo de Opções do Compilador do TDevelop
-Name[ru]=Интерфейс диалога опций компилятора
-Name[sk]=TDevelop rozhranie pre možnosti kompilátora
-Name[sl]=Vmesnik za možnosti prevajanja v TDevelopu
-Name[sr]=TDevelop-ов интерфејс дијалога „Опције преводиоца“
-Name[sr@Latn]=TDevelop-ov interfejs dijaloga „Opcije prevodioca“
-Name[sv]=TDevelop dialoggränssnitt för kompilatoralternativ
-Name[ta]=கெடெவலப் தொகுப்பித் தேர்வுகள் உரை இடைமுகம்
-Name[tg]=Гуфтугуи интерфейси талфифгари интихоб
-Name[tr]=TDevelop Derleyici Seçenekleri Pencere Arayüzü
-Name[zh_CN]=TDevelop编译器选项对话框接口
-Name[zh_TW]=TDevelop 編譯器選項對話框介面
[PropertyDef::X-TDevelop-Language]
Type=TQString
@@ -45,4 +13,3 @@ Type=bool
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/extras/tdevelopvcsintegrator.desktop b/lib/interfaces/extras/tdevelopvcsintegrator.desktop
index 00eb1c0f..f0851105 100644
--- a/lib/interfaces/extras/tdevelopvcsintegrator.desktop
+++ b/lib/interfaces/extras/tdevelopvcsintegrator.desktop
@@ -1,34 +1,8 @@
[Desktop Entry]
+Name=TDevelop VCS Integrator
Type=ServiceType
X-TDE-ServiceType=TDevelop/VCSIntegrator
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop VCS Integrator
-Name[ca]=Integrador VCS per a TDevelop
-Name[da]=TDevelop VCS-importør
-Name[de]=VCS-Integration für TDevelop
-Name[el]=Ενσωματωτής VCS του TDevelop
-Name[es]=Integrador VCS de TDevelop
-Name[et]=TDevelopi VCS põimija
-Name[eu]=TDevelop-en VCS integratzailea
-Name[fa]=مجتمع‌ساز TDevelop VCS
-Name[fr]=Intégrateur VCS de TDevelop
-Name[gl]=Integrador de VCS de TDevelop
-Name[hu]=TDevelop VCS-integráló
-Name[it]=Integratore VCS di TDevelop
-Name[ja]=TDevelop VCS インテグレータ
-Name[nds]=VKS-Integreren för TDevelop
-Name[ne]=TDevelop VCS इन्टिगेटर
-Name[pl]=TDevelop: integracja z VCS
-Name[pt]=Importador de VCS do TDevelop
-Name[pt_BR]=Integrador VCS para o TDevelop
-Name[ru]=Модуль работы с системами контроля версий для TDevelop
-Name[sk]=Kdevelop VCS integrácia
-Name[sr]=TDevelop-ов VCS интегратор
-Name[sr@Latn]=TDevelop-ov VCS integrator
-Name[sv]=TDevelop VCS-import
-Name[tr]=TDevelop VCS Bütünleyicisi
-Name[zh_CN]=TDevelop VCS 集成器
-Name[zh_TW]=TDevelop VCS 整合器
[PropertyDef::X-TDevelop-VCS]
Type=TQString
@@ -42,4 +16,3 @@ Type=bool
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/katedocumentmanagerinterface.cpp b/lib/interfaces/katedocumentmanagerinterface.cpp
index 0afbcc81..e190ed04 100644
--- a/lib/interfaces/katedocumentmanagerinterface.cpp
+++ b/lib/interfaces/katedocumentmanagerinterface.cpp
@@ -50,7 +50,7 @@ DCOPRef KateDocumentManagerInterface::document( uint n )
DCOPRef KateDocumentManagerInterface::documentWithID( uint id )
{
TQString dcopobj = "KateDocument#" + TQString::number(id);
- return DCOPRef(kapp->dcopClient()->appId(), dcopobj.latin1() );
+ return DCOPRef(tdeApp->dcopClient()->appId(), dcopobj.latin1() );
}
DCOPRef KateDocumentManagerInterface::openURL( const KURL &url, const TQString &encoding )
diff --git a/lib/interfaces/katedocumentmanagerinterface.h b/lib/interfaces/katedocumentmanagerinterface.h
index 8bdbdf8f..edc6d0af 100644
--- a/lib/interfaces/katedocumentmanagerinterface.h
+++ b/lib/interfaces/katedocumentmanagerinterface.h
@@ -32,7 +32,7 @@ This is an emulated interface to provide compatibility with Kate scripts.
*/
class KateDocumentManagerInterface : public TQObject, public DCOPObject {
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
public:
diff --git a/lib/interfaces/kdevapi.h b/lib/interfaces/kdevapi.h
index d1f4f5cc..ef756b69 100644
--- a/lib/interfaces/kdevapi.h
+++ b/lib/interfaces/kdevapi.h
@@ -46,7 +46,7 @@ class because @ref KDevPlugin already provides API convenience methods.
*/
class KDevApi: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**Constructor.*/
diff --git a/lib/interfaces/kdevcoderepository.h b/lib/interfaces/kdevcoderepository.h
index 4e1dd765..fca20f32 100644
--- a/lib/interfaces/kdevcoderepository.h
+++ b/lib/interfaces/kdevcoderepository.h
@@ -47,7 +47,7 @@ symbol store like @ref CodeModel.
*/
class KDevCodeRepository : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**Constructor.*/
diff --git a/lib/interfaces/kdevcore.h b/lib/interfaces/kdevcore.h
index fad2891a..e496576f 100644
--- a/lib/interfaces/kdevcore.h
+++ b/lib/interfaces/kdevcore.h
@@ -78,15 +78,15 @@ to if you reimplement TQWidget::contextMenuEvent method.
-# Connect KDevCore::contextMenu(TQPopupMenu *, const Context *) signal to that slot in
the constructor of your plugin:\n
@code
-connect(core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)));
+connect(core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)));
@endcode
-# Fill the menu in the slot you created, for example:\n
@code
if (context->hasType(Context::EditorContext))
{
const EditorContext *econtext = static_cast<const EditorContext*>(context);
- int id = popup->insertItem(i18n("My Menu Item 1"), this, TQT_SLOT(myMenuAction1()));
+ int id = popup->insertItem(i18n("My Menu Item 1"), this, TQ_SLOT(myMenuAction1()));
popup->setWhatsThis(id, i18n("What's this for my menu item 1"));
}
else if context->hasType(MyContext))
@@ -299,7 +299,7 @@ It defines:
*/
class KDevCore: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**Constructor
diff --git a/lib/interfaces/kdevdesignerintegration.h b/lib/interfaces/kdevdesignerintegration.h
index 528926cb..d8658b48 100644
--- a/lib/interfaces/kdevdesignerintegration.h
+++ b/lib/interfaces/kdevdesignerintegration.h
@@ -50,7 +50,7 @@ and reimplement slots defined in the form.
*/
class KDevDesignerIntegration : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
/**Constructor.
diff --git a/lib/interfaces/kdevgenericfactory.h b/lib/interfaces/kdevgenericfactory.h
index 6f8d3dc9..7bca8db4 100644
--- a/lib/interfaces/kdevgenericfactory.h
+++ b/lib/interfaces/kdevgenericfactory.h
@@ -33,7 +33,7 @@ to create factories for TDevelop plugins. For example, for DummyPlugin
the factory can be created (in dummyplugin.cpp file) as:
@code
typedef KDevGenericFactory<DummyPlugin> DummyPluginFactory;
-K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( pluginData ) )
@endcode
Data should be a const static object. This way it complies with the requirements
for data objecs of KDevGenericFactory constructor.
@@ -47,12 +47,12 @@ For example, dummyplugin.cpp file could contain:
@code
#include <kdevplugininfo.h>
-static const KDevPluginInfo data("KDevDummyPlugin");
+static const KDevPluginInfo pluginData("KDevDummyPlugin");
typedef KDevGenericFactory<DummyPlugin> DummyPluginFactory;
-K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY(libkdevdummyplugin, DummyPluginFactory( pluginData ) )
DummyPlugin::DummyPlugin(TQObject *parent, const char *name, const TQStringList & )
- :KDevPlugin(&data, parent, name)
+ :KDevPlugin(&pluginData, parent, name)
{
}
@endcode
diff --git a/lib/interfaces/kdevlanguagesupport.cpp b/lib/interfaces/kdevlanguagesupport.cpp
index aa5b560c..a5609cf9 100644
--- a/lib/interfaces/kdevlanguagesupport.cpp
+++ b/lib/interfaces/kdevlanguagesupport.cpp
@@ -68,9 +68,9 @@ bool KDevLanguageSupport::shouldSplitDocument(const KURL &url)
return false;
}
-Qt::Orientation KDevLanguageSupport::splitOrientation() const
+TQt::Orientation KDevLanguageSupport::splitOrientation() const
{
- return Qt::Vertical;
+ return TQt::Vertical;
}
void KDevLanguageSupport::addClass()
diff --git a/lib/interfaces/kdevlanguagesupport.h b/lib/interfaces/kdevlanguagesupport.h
index 42221868..59b160b2 100644
--- a/lib/interfaces/kdevlanguagesupport.h
+++ b/lib/interfaces/kdevlanguagesupport.h
@@ -60,7 +60,7 @@ formatted name).
*/
class KDevLanguageSupport: public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -135,8 +135,8 @@ public:
virtual bool shouldSplitDocument( const KURL &url );
/**Returns the language parts Split View orientation.
- By default Qt::Vertical.*/
- virtual Qt::Orientation splitOrientation() const;
+ By default TQt::Vertical.*/
+ virtual TQt::Orientation splitOrientation() const;
/**Opens a "New class" dialog and adds the configured class to the sources.
Define NewClass feature if you reimplement this method.*/
@@ -255,7 +255,7 @@ signals:
void addedSourceInfo( const TQString& fileName );
/**Emitted when the language part changes the Split View orientation.*/
- void splitOrientationChanged( Qt::Orientation orientation );
+ void splitOrientationChanged( TQt::Orientation orientation );
};
#endif
diff --git a/lib/interfaces/kdevpartcontroller.h b/lib/interfaces/kdevpartcontroller.h
index fd8e6830..0229c7e7 100644
--- a/lib/interfaces/kdevpartcontroller.h
+++ b/lib/interfaces/kdevpartcontroller.h
@@ -55,7 +55,7 @@ GUI designers, etc.
*/
class KDevPartController: public KParts::PartManager
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/interfaces/kdevplugin.h b/lib/interfaces/kdevplugin.h
index 5bdcaaf6..e2058fa8 100644
--- a/lib/interfaces/kdevplugin.h
+++ b/lib/interfaces/kdevplugin.h
@@ -106,7 +106,7 @@ from shell applications.
*/
class KDevPlugin: public TQObject, public KXMLGUIClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/interfaces/kdevplugincontroller.cpp b/lib/interfaces/kdevplugincontroller.cpp
index 1cc6caa3..2a1b0770 100644
--- a/lib/interfaces/kdevplugincontroller.cpp
+++ b/lib/interfaces/kdevplugincontroller.cpp
@@ -27,8 +27,17 @@ KDevPluginController::KDevPluginController()
TDETrader::OfferList KDevPluginController::query(const TQString &serviceType,
const TQString &constraint)
{
- return TDETrader::self()->query(serviceType,
- TQString("%1 and [X-TDevelop-Version] == %2").arg(constraint).arg(TDEVELOP_PLUGIN_VERSION));
+ TQString versionConstraint =
+ TQString::fromLatin1("[X-TDevelop-Version] == %1").arg(TDEVELOP_PLUGIN_VERSION);
+
+ TQString newConstraint;
+ if (!constraint.isEmpty()) {
+ newConstraint = TQString("( %1 ) and %2").arg(constraint).arg(versionConstraint);
+ } else {
+ newConstraint = versionConstraint;
+ }
+
+ return TDETrader::self()->query(serviceType, newConstraint);
}
TDETrader::OfferList KDevPluginController::queryPlugins(const TQString &constraint)
diff --git a/lib/interfaces/kdevplugincontroller.h b/lib/interfaces/kdevplugincontroller.h
index d72563d5..c21cf58a 100644
--- a/lib/interfaces/kdevplugincontroller.h
+++ b/lib/interfaces/kdevplugincontroller.h
@@ -38,7 +38,7 @@ Plugin controller is responsible for quering, loading and unloading available pl
*/
class KDevPluginController: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/lib/interfaces/kdevproject.cpp b/lib/interfaces/kdevproject.cpp
index e8616df1..3a49a8c6 100644
--- a/lib/interfaces/kdevproject.cpp
+++ b/lib/interfaces/kdevproject.cpp
@@ -40,14 +40,14 @@ struct KDevProject::Private {
KDevProject::KDevProject(const KDevPluginInfo *info, TQObject *parent, const char *name)
: KDevPlugin(info, parent, name), d(new KDevProject::Private())
{
- connect( this, TQT_SIGNAL(addedFilesToProject(const TQStringList& )), this, TQT_SLOT(buildFileMap()) );
- connect( this, TQT_SIGNAL(removedFilesFromProject(const TQStringList& )), this, TQT_SLOT(buildFileMap()) );
+ connect( this, TQ_SIGNAL(addedFilesToProject(const TQStringList& )), this, TQ_SLOT(buildFileMap()) );
+ connect( this, TQ_SIGNAL(removedFilesFromProject(const TQStringList& )), this, TQ_SLOT(buildFileMap()) );
- connect( this, TQT_SIGNAL(addedFilesToProject(const TQStringList& )), this, TQT_SLOT(slotAddFilesToFileMap(const TQStringList& )) );
- connect( this, TQT_SIGNAL(removedFilesFromProject(const TQStringList& )), this, TQT_SLOT(slotRemoveFilesFromFileMap(const TQStringList& )) );
+ connect( this, TQ_SIGNAL(addedFilesToProject(const TQStringList& )), this, TQ_SLOT(slotAddFilesToFileMap(const TQStringList& )) );
+ connect( this, TQ_SIGNAL(removedFilesFromProject(const TQStringList& )), this, TQ_SLOT(slotRemoveFilesFromFileMap(const TQStringList& )) );
d->m_timer = new TQTimer(this);
- connect(d->m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotBuildFileMap()));
+ connect(d->m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotBuildFileMap()));
d->m_iface = new KDevProjectIface(this);
}
diff --git a/lib/interfaces/kdevproject.h b/lib/interfaces/kdevproject.h
index 256b0c0c..3fc6cf87 100644
--- a/lib/interfaces/kdevproject.h
+++ b/lib/interfaces/kdevproject.h
@@ -47,7 +47,7 @@ as a way of providing support for a build system (like it is done in TDevelop ID
*/
class KDevProject: public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**Constructs a project plugin.
diff --git a/lib/interfaces/kdevprojectiface.h b/lib/interfaces/kdevprojectiface.h
index e30cd6cc..4908f9f2 100644
--- a/lib/interfaces/kdevprojectiface.h
+++ b/lib/interfaces/kdevprojectiface.h
@@ -33,7 +33,7 @@ DCOP Interface for the @ref KDevProject object.
*/
class KDevProjectIface : public TQObject, public DCOPObject
{
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
public:
diff --git a/lib/interfaces/tdeveloplanguagesupport.desktop b/lib/interfaces/tdeveloplanguagesupport.desktop
index f3d21349..4e8b2a94 100644
--- a/lib/interfaces/tdeveloplanguagesupport.desktop
+++ b/lib/interfaces/tdeveloplanguagesupport.desktop
@@ -1,41 +1,9 @@
[Desktop Entry]
+Name=TDevelop Language Support Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/LanguageSupport
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop Language Support Interface
-Name[ca]=Interfície del suport de llenguatges per a TDevelop
-Name[da]=TDevelop grænseflade for sprogunderstøttelse
-Name[de]=Schnittstelle für Sprachunterstützung (TDevelop)
-Name[el]=Διασύνδεση υποστήριξης γλώσσας TDevelop
-Name[es]=Interfaz del soporte de lenguajes de TDevelop
-Name[et]=TDevelopi keeletoetuse liides
-Name[eu]=TDevelop-en lengoaien euskarrien interfazea
-Name[fa]=واسط پشتیبانی زبان TDevelop
-Name[fr]=Interface de prise en charge de langage de TDevelop
-Name[gl]=Interface de soporte de linguaxes de TDevelop
-Name[hi]=के-डेवलप भाषा समर्थन इंटरफ़ेस
-Name[hu]=TDevelop nyelvtámogatási felület
-Name[it]=Interfaccia TDevelop per il supporto di linguaggio
-Name[ja]=TDevelop 言語サポート インターフェース
-Name[nds]=TDevelop-Koppelsteed för Spraakünnerstütten
-Name[ne]=केडीई विकास भाषा समर्थन इन्टरफेस
-Name[nl]=TDevelop Interface voor taalondersteuning
-Name[pl]=Interfejs TDevelopa do obsługi języków
-Name[pt]=Interface de Suporte a Linguagens do TDevelop
-Name[pt_BR]=Interface de Suporte à Linguagem do TDevelop
-Name[ru]=Интерфейс языковой поддержки
-Name[sk]=TDevelop rozhranie pre podporu jazykov
-Name[sl]=Vmesnik jezikovne podpore za TDevelop
-Name[sr]=TDevelop-ов интерфејс за језичку подршку
-Name[sr@Latn]=TDevelop-ov interfejs za jezičku podršku
-Name[sv]=TDevelop gränssnitt för språkstöd
-Name[ta]=TDevelop மொழி ஆதரவான இடைவிளிம்பு
-Name[tg]=Интерфейс ёрӣ расони забонӣ
-Name[tr]=TDevelop Dil Desteği Arayüzü
-Name[zh_CN]=TDevelop 语言支持接口
-Name[zh_TW]=TDevelop 語言支援介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
Type=int
-
diff --git a/lib/interfaces/tdevelopplugin.desktop b/lib/interfaces/tdevelopplugin.desktop
index 163f8c6f..4badf2fe 100644
--- a/lib/interfaces/tdevelopplugin.desktop
+++ b/lib/interfaces/tdevelopplugin.desktop
@@ -1,39 +1,7 @@
[Desktop Entry]
+Name=TDevelop Plugin
Type=ServiceType
X-TDE-ServiceType=TDevelop/Plugin
-Name=TDevelop Plugin
-Name[br]=Lugent TDevelop
-Name[ca]=Connector per a TDevelop
-Name[da]=TDevelop plugin
-Name[de]=TDevelop-Modul
-Name[el]=Πρόσθετο TDevelop
-Name[es]=Complemento para TDevelop
-Name[et]=TDevelopi plugin
-Name[eu]=TDevelop plugin-a
-Name[fa]=وصلۀ TDevelop
-Name[fr]=Module externe de TDevelop
-Name[ga]=Breiseán TDevelop
-Name[gl]=Extensión para TDevelop
-Name[hi]=के-डेवलप प्लगइन
-Name[hu]=TDevelop-bővítőmodul
-Name[it]=Plugin di TDevelop
-Name[ja]=TDevelop プラグイン
-Name[nds]=TDevelop-Moduul
-Name[ne]=केडीई विकास प्लगइन
-Name[pl]=Wtyczka do TDevelopa
-Name[pt]='Plugin' do TDevelop
-Name[pt_BR]=Plug-in do TDevelop
-Name[ru]=Модуль TDevelop
-Name[sk]=TDevelop modul
-Name[sl]=Vstavek za TDevelop
-Name[sr]=Прикључак за TDevelop
-Name[sr@Latn]=Priključak za TDevelop
-Name[sv]=TDevelop insticksmodul
-Name[ta]=TDevelop சொருகு
-Name[tg]=Модули TDevelop
-Name[tr]=TDevelop Eklentisi
-Name[zh_CN]=TDevelop 插件
-Name[zh_TW]=TDevelop 外掛程式
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]
diff --git a/lib/interfaces/tdevelopproject.desktop b/lib/interfaces/tdevelopproject.desktop
index 7bdac75a..01fbfdcc 100644
--- a/lib/interfaces/tdevelopproject.desktop
+++ b/lib/interfaces/tdevelopproject.desktop
@@ -1,39 +1,8 @@
[Desktop Entry]
+Name=TDevelop Project Interface
Type=ServiceType
X-TDE-ServiceType=TDevelop/Project
X-TDE-Derived=TDevelop/Plugin
-Name=TDevelop Project Interface
-Name[ca]=Interfície de projecte per a TDevelop
-Name[da]=TDevelop projektgrænseflade
-Name[de]=Projekt-Schnittstelle (TDevelop)
-Name[el]=Διασύνδεση έργου TDevelop
-Name[es]=Interfaz de proyecto de TDevelop
-Name[et]=TDevelopi projektiliides
-Name[eu]=TDevelop-en proiektu interfazea
-Name[fa]=واسط پروژۀ TDevelop
-Name[fr]=Interface de projet de TDevelop
-Name[gl]=Interface de proxecto TDevelop
-Name[hi]=के-डेवलप परियोजना इंटरफ़ेस
-Name[hu]=TDevelop projektkezelő felület
-Name[it]=Interfaccia TDevelop di progetto
-Name[ja]=TDevelop プロジェクト インターフェース
-Name[nds]=TDevelop-Projektkoppelsteed
-Name[ne]=केडीई विकास परियोजना इन्टरफेस
-Name[nl]=TDevelop Projectinterface
-Name[pl]=Interfejs TDevelopa do projektu
-Name[pt]=Interface de Projecto do TDevelop
-Name[pt_BR]=Interface de Projeto do TDevelop
-Name[ru]=Интерфейс проекта
-Name[sk]=TDevelop rozhranie pre projekt
-Name[sl]=Projektni vmesnik v TDevelopu
-Name[sr]=TDevelop-ов интерфејс пројекта
-Name[sr@Latn]=TDevelop-ov interfejs projekta
-Name[sv]=TDevelop projektgränssnitt
-Name[ta]=TDevelop திட்ட இடைஇணைப்பு
-Name[tg]=Лоиҳаи интерфейс
-Name[tr]=TDevelop Proje Arayüzü
-Name[zh_CN]=TDevelop 工程接口
-Name[zh_TW]=TDevelop 專案介面
# versioning - prevent DLL hell
[PropertyDef::X-TDevelop-Version]