diff options
Diffstat (limited to 'languages/lib')
-rw-r--r-- | languages/lib/debugger/Mainpage.dox | 14 | ||||
-rw-r--r-- | languages/lib/debugger/debugger.cpp | 10 | ||||
-rw-r--r-- | languages/lib/debugger/debugger.h | 2 | ||||
-rw-r--r-- | languages/lib/debugger/kdevdebugger.h | 2 | ||||
-rw-r--r-- | languages/lib/designer_integration/implementationwidget.h | 2 | ||||
-rw-r--r-- | languages/lib/designer_integration/implementationwidgetbase.ui | 4 | ||||
-rw-r--r-- | languages/lib/designer_integration/tqtdesignerintegration.h | 2 | ||||
-rw-r--r-- | languages/lib/interfaces/CMakeLists.txt | 6 | ||||
-rw-r--r-- | languages/lib/interfaces/kdevpcsimporter.h | 2 | ||||
-rw-r--r-- | languages/lib/interfaces/tdeveloppcsimporter.desktop | 34 |
10 files changed, 26 insertions, 52 deletions
diff --git a/languages/lib/debugger/Mainpage.dox b/languages/lib/debugger/Mainpage.dox index 90c16a2a..c0e6b077 100644 --- a/languages/lib/debugger/Mainpage.dox +++ b/languages/lib/debugger/Mainpage.dox @@ -12,16 +12,16 @@ This library contains classes to implement debugger support for a programming la Each debugger support plugin must interact with an editor to set breakpoints, jump to execution points, etc. This kind of interaction is implemented in @ref Debugger class. Your debugger support plugin just need to create -an instance of @ref Debugger class and connect its Q_SIGNALS, for example: +an instance of @ref Debugger class and connect its signals, for example: @code m_debugger = new Debugger( partController() ); -connect( m_debugger, SIGNAL(toggledBreakpoint(const QString &, int)), - debuggerBreakpointWidget, SLOT(slotToggleBreakpoint(const QString &, int)) ); -connect( m_debugger, SIGNAL(editedBreakpoint(const QString &, int)), - debuggerBreakpointWidget, SLOT(slotEditBreakpoint(const QString &, int)) ); -connect( m_debugger, SIGNAL(toggledBreakpointEnabled(const QString &, int)), - debuggerBreakpointWidget, SLOT(slotToggleBreakpointEnabled(const QString &, int)) ); +connect( m_debugger, TQ_SIGNAL(toggledBreakpoint(const TQString &, int)), + debuggerBreakpointWidget, TQ_SLOT(slotToggleBreakpoint(const TQString &, int)) ); +connect( m_debugger, TQ_SIGNAL(editedBreakpoint(const TQString &, int)), + debuggerBreakpointWidget, TQ_SLOT(slotEditBreakpoint(const TQString &, int)) ); +connect( m_debugger, TQ_SIGNAL(toggledBreakpointEnabled(const TQString &, int)), + debuggerBreakpointWidget, TQ_SLOT(slotToggleBreakpointEnabled(const TQString &, int)) ); @endcode Then m_debugger instance can be used for example, to jump to the execution point: @code diff --git a/languages/lib/debugger/debugger.cpp b/languages/lib/debugger/debugger.cpp index bc8356b7..111ca93c 100644 --- a/languages/lib/debugger/debugger.cpp +++ b/languages/lib/debugger/debugger.cpp @@ -16,8 +16,8 @@ Debugger *Debugger::s_instance = 0; Debugger::Debugger(KDevPartController *partController) :m_partController(partController) { - connect( m_partController, TQT_SIGNAL(partAdded(KParts::Part*)), - this, TQT_SLOT(partAdded(KParts::Part*)) ); + connect( m_partController, TQ_SIGNAL(partAdded(KParts::Part*)), + this, TQ_SLOT(partAdded(KParts::Part*)) ); } @@ -46,7 +46,7 @@ void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool // Temporarily disconnect so we don't get confused by receiving extra // marksChanged signals - disconnect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) ); + disconnect( part, TQ_SIGNAL(marksChanged()), this, TQ_SLOT(marksChanged()) ); iface->removeMark( lineNum, Breakpoint | ActiveBreakpoint | ReachedBreakpoint | DisabledBreakpoint ); BPItem bpItem(fileName, lineNum); @@ -71,7 +71,7 @@ void Debugger::setBreakpoint(const TQString &fileName, int lineNum, int id, bool BPList.append(BPItem(fileName, lineNum)); } - connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) ); + connect( part, TQ_SIGNAL(marksChanged()), this, TQ_SLOT(marksChanged()) ); } @@ -203,7 +203,7 @@ void Debugger::partAdded( KParts::Part* part ) iface->setPixmap((MarkInterface::MarkTypes)ExecutionPoint, *executionPointPixmap()); iface->setMarksUserChangable( Bookmark | Breakpoint ); - connect( part, TQT_SIGNAL(marksChanged()), this, TQT_SLOT(marksChanged()) ); + connect( part, TQ_SIGNAL(marksChanged()), this, TQ_SLOT(marksChanged()) ); } #include "debugger.moc" diff --git a/languages/lib/debugger/debugger.h b/languages/lib/debugger/debugger.h index d4112490..ca689170 100644 --- a/languages/lib/debugger/debugger.h +++ b/languages/lib/debugger/debugger.h @@ -56,7 +56,7 @@ private: */ class Debugger : public KDevDebugger { - Q_OBJECT + TQ_OBJECT public: diff --git a/languages/lib/debugger/kdevdebugger.h b/languages/lib/debugger/kdevdebugger.h index 4cb7df3f..ba2dc352 100644 --- a/languages/lib/debugger/kdevdebugger.h +++ b/languages/lib/debugger/kdevdebugger.h @@ -33,7 +33,7 @@ */ class KDevDebugger : public TQObject { - Q_OBJECT + TQ_OBJECT public: diff --git a/languages/lib/designer_integration/implementationwidget.h b/languages/lib/designer_integration/implementationwidget.h index 3dd53763..381cb87f 100644 --- a/languages/lib/designer_integration/implementationwidget.h +++ b/languages/lib/designer_integration/implementationwidget.h @@ -39,7 +39,7 @@ Subclasses of this class should reimplement only pure virtual functions in the c */ class ImplementationWidget : public CreateImplemenationWidgetBase { -Q_OBJECT +TQ_OBJECT public: ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent = 0, const char* name = 0, bool modal = false); diff --git a/languages/lib/designer_integration/implementationwidgetbase.ui b/languages/lib/designer_integration/implementationwidgetbase.ui index d2780bc1..45cebd8e 100644 --- a/languages/lib/designer_integration/implementationwidgetbase.ui +++ b/languages/lib/designer_integration/implementationwidgetbase.ui @@ -257,9 +257,9 @@ <tabstop>okButton</tabstop> <tabstop>cancelButton</tabstop> </tabstops> -<Q_SLOTS> +<slots> <slot access="protected">classNameChanged(const TQString &)</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">klineedit.h</include> diff --git a/languages/lib/designer_integration/tqtdesignerintegration.h b/languages/lib/designer_integration/tqtdesignerintegration.h index f76eecba..b5d7d64d 100644 --- a/languages/lib/designer_integration/tqtdesignerintegration.h +++ b/languages/lib/designer_integration/tqtdesignerintegration.h @@ -37,7 +37,7 @@ Subclasses of this class should reimplement only pure virtual functions in the c */ class QtDesignerIntegration : public KDevDesignerIntegration { -Q_OBJECT +TQ_OBJECT public: QtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl, diff --git a/languages/lib/interfaces/CMakeLists.txt b/languages/lib/interfaces/CMakeLists.txt index 370eece3..9874e4eb 100644 --- a/languages/lib/interfaces/CMakeLists.txt +++ b/languages/lib/interfaces/CMakeLists.txt @@ -27,7 +27,11 @@ install( FILES kdevpcsimporter.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/lan ##### other data ################################ -install( FILES tdeveloppcsimporter.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdeveloppcsimporter.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### lang_interfaces (shared) ################## diff --git a/languages/lib/interfaces/kdevpcsimporter.h b/languages/lib/interfaces/kdevpcsimporter.h index 870865cb..b4abc647 100644 --- a/languages/lib/interfaces/kdevpcsimporter.h +++ b/languages/lib/interfaces/kdevpcsimporter.h @@ -34,7 +34,7 @@ is to provide file selection wizard. */ class KDevPCSImporter: public TQObject { - Q_OBJECT + TQ_OBJECT public: KDevPCSImporter( TQObject* parent=0, const char* name=0 ); diff --git a/languages/lib/interfaces/tdeveloppcsimporter.desktop b/languages/lib/interfaces/tdeveloppcsimporter.desktop index f6c08885..8ca46a7a 100644 --- a/languages/lib/interfaces/tdeveloppcsimporter.desktop +++ b/languages/lib/interfaces/tdeveloppcsimporter.desktop @@ -1,39 +1,9 @@ [Desktop Entry] +Name=TDevelop PCS Importer + Type=ServiceType X-TDE-ServiceType=TDevelop/PCSImporter X-TDE-Derived=TDevelop/Plugin -Name=TDevelop PCS Importer -Name[ca]=Importador PCS per a TDevelop -Name[da]=TDevelop PCS importør -Name[de]=PCS-Importierer (TDevelop) -Name[el]=Εισαγωγέας PCS TDevelop -Name[es]=Importación PCS de TDevelop -Name[et]=TDevelopi PCS importija -Name[eu]=TDevelop PCS inportatzailea -Name[fa]=واردکنندۀ TDevelop PCS -Name[fr]=Importation PCS pour TDevelop -Name[ga]=Iompórtálaí PCS TDevelop -Name[gl]=Importador PCS de TDevelop -Name[hi]=के-डेवलप पीसीएस आयातक -Name[hu]=TDevelop PCS-importáló -Name[ja]=TDevelop PCS インポータ -Name[nds]=PCS-Import (TDevelop) -Name[ne]=केडीई विकास PCS आयातकर्ता -Name[nl]=TDevelop PCS importeren -Name[pl]=TDevelop: import PCS -Name[pt]=Importador de PCS do TDevelop -Name[pt_BR]=Importador PCS para o TDevelop -Name[ru]=Загрузчик в хранилище классов -Name[sk]=TDevelop PCS import -Name[sl]=Uvažanje PCS za TDevelop -Name[sr]=TDevelop-ов PCS увозник -Name[sr@Latn]=TDevelop-ov PCS uvoznik -Name[sv]=TDevelop PCS-import -Name[ta]=TDevelop pcs ஏற்றுமதியாளர் -Name[tg]=Пурборкунанда дар анбори синфӣ -Name[tr]=TDevelop PCS Aktarıcısı -Name[zh_CN]=TDevelop PCS导入器 -Name[zh_TW]=TDevelop PCS 匯入器 [PropertyDef::X-TDevelop-PCSImporter] Type=TQString |