summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/debugger')
-rw-r--r--quanta/components/debugger/CMakeLists.txt3
-rw-r--r--quanta/components/debugger/backtracelistview.cpp2
-rw-r--r--quanta/components/debugger/backtracelistview.h2
-rw-r--r--quanta/components/debugger/conditionalbreakpointdialog.cpp8
-rw-r--r--quanta/components/debugger/conditionalbreakpointdialog.h2
-rw-r--r--quanta/components/debugger/conditionalbreakpointdialogs.ui16
-rw-r--r--quanta/components/debugger/dbgp/CMakeLists.txt9
-rw-r--r--quanta/components/debugger/dbgp/dbgpnetwork.cpp28
-rw-r--r--quanta/components/debugger/dbgp/dbgpnetwork.h2
-rw-r--r--quanta/components/debugger/dbgp/dbgpsettings.cpp2
-rw-r--r--quanta/components/debugger/dbgp/dbgpsettings.h2
-rw-r--r--quanta/components/debugger/dbgp/dbgpsettingss.ui22
-rw-r--r--quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp8
-rw-r--r--quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop41
-rw-r--r--quanta/components/debugger/dbgp/quantadebuggerdbgp.h2
-rw-r--r--quanta/components/debugger/debuggerbreakpointview.cpp6
-rw-r--r--quanta/components/debugger/debuggerbreakpointview.h2
-rw-r--r--quanta/components/debugger/debuggermanager.cpp62
-rw-r--r--quanta/components/debugger/debuggermanager.h2
-rw-r--r--quanta/components/debugger/debuggerui.cpp6
-rw-r--r--quanta/components/debugger/debuggerui.h2
-rw-r--r--quanta/components/debugger/debuggervariablesets.ui6
-rw-r--r--quanta/components/debugger/gubed/CMakeLists.txt9
-rw-r--r--quanta/components/debugger/gubed/gubedsettings.h2
-rw-r--r--quanta/components/debugger/gubed/gubedsettingss.ui13
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.cpp22
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.desktop45
-rw-r--r--quanta/components/debugger/gubed/quantadebuggergubed.h2
-rw-r--r--quanta/components/debugger/interfaces/CMakeLists.txt9
-rw-r--r--quanta/components/debugger/interfaces/debuggerclient.h2
-rw-r--r--quanta/components/debugger/interfaces/debuggerinterface.h2
-rw-r--r--quanta/components/debugger/interfaces/quantadebugger.desktop44
-rw-r--r--quanta/components/debugger/pathmapper.h2
-rw-r--r--quanta/components/debugger/pathmapperdialog.cpp6
-rw-r--r--quanta/components/debugger/pathmapperdialog.h2
-rw-r--r--quanta/components/debugger/pathmapperdialogs.ui16
-rw-r--r--quanta/components/debugger/quantadebuggerinterface.h2
-rw-r--r--quanta/components/debugger/variableslistview.cpp10
-rw-r--r--quanta/components/debugger/variableslistview.h2
39 files changed, 151 insertions, 274 deletions
diff --git a/quanta/components/debugger/CMakeLists.txt b/quanta/components/debugger/CMakeLists.txt
index 6a9e7609..58d8c1f2 100644
--- a/quanta/components/debugger/CMakeLists.txt
+++ b/quanta/components/debugger/CMakeLists.txt
@@ -24,6 +24,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/quanta/utility
${CMAKE_SOURCE_DIR}/quanta/messages
${CMAKE_SOURCE_DIR}/quanta/parts/preview
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
diff --git a/quanta/components/debugger/backtracelistview.cpp b/quanta/components/debugger/backtracelistview.cpp
index 637f76a4..1e02305f 100644
--- a/quanta/components/debugger/backtracelistview.cpp
+++ b/quanta/components/debugger/backtracelistview.cpp
@@ -64,7 +64,7 @@ BacktraceListview::BacktraceListview(TQWidget *parent, const char *name)
setAllColumnsShowFocus(true);
// Jump to bt
- connect(this, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(slotBacktraceDoubleClick( TQListViewItem *, const TQPoint &, int)));
+ connect(this, TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQ_SLOT(slotBacktraceDoubleClick( TQListViewItem *, const TQPoint &, int)));
}
diff --git a/quanta/components/debugger/backtracelistview.h b/quanta/components/debugger/backtracelistview.h
index 01c34c45..d821ad5a 100644
--- a/quanta/components/debugger/backtracelistview.h
+++ b/quanta/components/debugger/backtracelistview.h
@@ -70,7 +70,7 @@ class BacktraceListviewItem : public TDEListViewItem
class BacktraceListview : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/conditionalbreakpointdialog.cpp b/quanta/components/debugger/conditionalbreakpointdialog.cpp
index 055512da..630fbf8b 100644
--- a/quanta/components/debugger/conditionalbreakpointdialog.cpp
+++ b/quanta/components/debugger/conditionalbreakpointdialog.cpp
@@ -40,11 +40,11 @@ ConditionalBreakpointDialog::ConditionalBreakpointDialog(const TQString& express
buttonClearClass->setPixmap(SmallIcon("clear_left"));
buttonClearFunction->setPixmap(SmallIcon("clear_left"));
- connect(comboExpression, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotExpressionChanged()));
+ connect(comboExpression, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotExpressionChanged()));
- connect(buttonClearFile, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotClearFile()));
- connect(buttonClearClass, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotClearClass()));
- connect(buttonClearFunction, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotClearFunction()));
+ connect(buttonClearFile, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotClearFile()));
+ connect(buttonClearClass, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotClearClass()));
+ connect(buttonClearFunction, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotClearFunction()));
slotExpressionChanged();
}
diff --git a/quanta/components/debugger/conditionalbreakpointdialog.h b/quanta/components/debugger/conditionalbreakpointdialog.h
index 5fb8a1bd..8dd15371 100644
--- a/quanta/components/debugger/conditionalbreakpointdialog.h
+++ b/quanta/components/debugger/conditionalbreakpointdialog.h
@@ -22,7 +22,7 @@
class ConditionalBreakpointDialog : public ConditionalBreakpointDialogS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/conditionalbreakpointdialogs.ui b/quanta/components/debugger/conditionalbreakpointdialogs.ui
index fcd4b1db..109abfbd 100644
--- a/quanta/components/debugger/conditionalbreakpointdialogs.ui
+++ b/quanta/components/debugger/conditionalbreakpointdialogs.ui
@@ -76,9 +76,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -93,9 +90,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -321,9 +315,9 @@
<tabstop>buttonCancel</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kcombobox.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kled.h</include>
+ <include location="global" impldecl="in implementation">kcombobox.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/dbgp/CMakeLists.txt b/quanta/components/debugger/dbgp/CMakeLists.txt
index 0652c64d..2d4550eb 100644
--- a/quanta/components/debugger/dbgp/CMakeLists.txt
+++ b/quanta/components/debugger/dbgp/CMakeLists.txt
@@ -13,6 +13,9 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/quanta/components/debugger
${CMAKE_SOURCE_DIR}/quanta/components/debugger/interfaces
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -24,7 +27,11 @@ link_directories(
##### other data ################################
-install( FILES quantadebuggerdbgp.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE quantadebuggerdbgp.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
##### quantadebuggerdbgp (module) ###############
diff --git a/quanta/components/debugger/dbgp/dbgpnetwork.cpp b/quanta/components/debugger/dbgp/dbgpnetwork.cpp
index 7730960d..03fb82aa 100644
--- a/quanta/components/debugger/dbgp/dbgpnetwork.cpp
+++ b/quanta/components/debugger/dbgp/dbgpnetwork.cpp
@@ -48,11 +48,11 @@ void DBGpNetwork::sessionStart(bool useproxy, const TQString& server, const TQSt
if(m_socket)
{
// m_socket->setBufferSize(-1);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KNetwork::KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
- connect(m_socket, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotSocketDestroyed()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KNetwork::KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotSocketDestroyed()));
m_socket->connect();
emit active(false);
kdDebug(24002) << k_funcinfo << ", proxy:" << server << ", " << service << endl;
@@ -65,8 +65,8 @@ void DBGpNetwork::sessionStart(bool useproxy, const TQString& server, const TQSt
m_server = new KNetwork::TDEServerSocket(service);
m_server->setAddressReuseable(true);
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
- connect(m_server, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
if(m_server->listen())
{
@@ -91,7 +91,7 @@ void DBGpNetwork::sessionEnd()
if(m_socket)
{
m_socket->flush();
- disconnect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
+ disconnect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
if (m_socket)
m_socket->close();
delete m_socket;
@@ -146,7 +146,7 @@ void DBGpNetwork::slotReadyAccept()
kdDebug(24002) << k_funcinfo << ", m_server: " << m_server << ", m_socket" << m_socket << endl;
if(!m_socket)
{
- disconnect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ disconnect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
m_socket = (KNetwork::KStreamSocket *)m_server->accept(); // TDESocketServer returns a KStreamSocket (!)
if(m_socket)
@@ -156,10 +156,10 @@ void DBGpNetwork::slotReadyAccept()
m_socket->setAddressReuseable(true);
// m_socket->setSocketFlags(KExtendedSocket::inetSocket | KExtendedSocket::inputBufferedSocket);
// m_socket->setBufferSize(-1);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
connected();
}
else
@@ -215,7 +215,7 @@ void DBGpNetwork::slotConnectionClosed()
}
if(m_server)
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
// Disable all session related actions and enable connection action
emit connected(false);
diff --git a/quanta/components/debugger/dbgp/dbgpnetwork.h b/quanta/components/debugger/dbgp/dbgpnetwork.h
index 1ac8e2f4..8c8f7ca9 100644
--- a/quanta/components/debugger/dbgp/dbgpnetwork.h
+++ b/quanta/components/debugger/dbgp/dbgpnetwork.h
@@ -30,7 +30,7 @@ class KResolverEntry;
class DBGpNetwork : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/dbgp/dbgpsettings.cpp b/quanta/components/debugger/dbgp/dbgpsettings.cpp
index e9bbc249..13b1f46c 100644
--- a/quanta/components/debugger/dbgp/dbgpsettings.cpp
+++ b/quanta/components/debugger/dbgp/dbgpsettings.cpp
@@ -24,7 +24,7 @@ DBGpSettings::DBGpSettings(const TQString &protocolversion)
: DBGpSettingsS(0, "DBGpSettings", false, 0)
{
textAbout->setText(textAbout->text().replace("%PROTOCOLVERSION%", protocolversion));
- connect(checkLocalProject, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotLocalProjectToggle(bool)));
+ connect(checkLocalProject, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotLocalProjectToggle(bool)));
}
DBGpSettings::~DBGpSettings()
diff --git a/quanta/components/debugger/dbgp/dbgpsettings.h b/quanta/components/debugger/dbgp/dbgpsettings.h
index 96a25f25..c5e96afe 100644
--- a/quanta/components/debugger/dbgp/dbgpsettings.h
+++ b/quanta/components/debugger/dbgp/dbgpsettings.h
@@ -21,7 +21,7 @@
class DBGpSettings : public DBGpSettingsS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/dbgp/dbgpsettingss.ui b/quanta/components/debugger/dbgp/dbgpsettingss.ui
index 10888885..b8dba8de 100644
--- a/quanta/components/debugger/dbgp/dbgpsettingss.ui
+++ b/quanta/components/debugger/dbgp/dbgpsettingss.ui
@@ -60,9 +60,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -285,9 +282,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
@@ -402,9 +396,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="whatsThis" stdset="0">
<string>If this checkbox is checked, the profiler output filename will be mapped using the basedirs just like the remote script files.</string>
</property>
@@ -440,9 +431,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="whatsThis" stdset="0">
<string>If this checkbox is checked, the profiler output will be opened automatically once the session ends.</string>
</property>
@@ -716,13 +704,13 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotLocalProjectToggled(bool)</slot>
<slot>checkLocalProject_toggled(bool)</slot>
<slot>slotLocalProjectToggle(bool)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp b/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp
index 6e2ec6ce..f4204ec2 100644
--- a/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp
+++ b/quanta/components/debugger/dbgp/quantadebuggerdbgp.cpp
@@ -59,10 +59,10 @@ QuantaDebuggerDBGp::QuantaDebuggerDBGp (TQObject *parent, const char*, const TQS
setExecutionState(m_defaultExecutionState);
emit updateStatus(DebuggerUI::NoSession);
- connect(&m_network, TQT_SIGNAL(command(const TQString&)), this, TQT_SLOT(processCommand(const TQString&)));
- connect(&m_network, TQT_SIGNAL(active(bool)), this, TQT_SLOT(slotNetworkActive(bool)));
- connect(&m_network, TQT_SIGNAL(connected(bool)), this, TQT_SLOT(slotNetworkConnected(bool)));
- connect(&m_network, TQT_SIGNAL(networkError(const TQString &, bool)), this, TQT_SLOT(slotNetworkError(const TQString &, bool)));
+ connect(&m_network, TQ_SIGNAL(command(const TQString&)), this, TQ_SLOT(processCommand(const TQString&)));
+ connect(&m_network, TQ_SIGNAL(active(bool)), this, TQ_SLOT(slotNetworkActive(bool)));
+ connect(&m_network, TQ_SIGNAL(connected(bool)), this, TQ_SLOT(slotNetworkConnected(bool)));
+ connect(&m_network, TQ_SIGNAL(networkError(const TQString &, bool)), this, TQ_SLOT(slotNetworkError(const TQString &, bool)));
}
diff --git a/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop b/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop
index 462c4919..4873243a 100644
--- a/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop
+++ b/quanta/components/debugger/dbgp/quantadebuggerdbgp.desktop
@@ -1,44 +1,9 @@
[Desktop Entry]
-Type=Service
Name=DBGp
+
Comment=DBGp debugger plugin, see http://xdebug.org
-Comment[bg]=Приставка на дебъгер DBGp, http://xdebug.org
-Comment[ca]=Connector de depuració DBGp, consulteu http://xdebug.org
-Comment[cs]=DBGp debugger plugin, viz http://xdebug.org
-Comment[da]=DBGp fejlretter-plugin, se http://xdebug.org
-Comment[de]=DBGp Debugger Plugin, siehe http://xdebug.org
-Comment[el]=Πρόσθετο αποσφαλματωτή DBGp, δείτε το http://xdebug.org
-Comment[es]=Extensión para el depurador DBGp, vea http://xdebug.org
-Comment[et]=DBGp siluri plugin, vaata http://xdebug.org
-Comment[eu]=DBGp araztailearen plugina, ikusi http://xdebug.org
-Comment[fa]=وصلۀ اشکال‌زدای DBGp، http://xdebug.org را ببینید
-Comment[fi]=DBGp-debugliitännäinen, katso http://xdebug.org
-Comment[fr]=Module de débogage DBGp, consultez http://xdebug.org
-Comment[ga]=Breiseán dífhabhtóra DBGp, féach ar http://xdebug.org
-Comment[gl]=Extensión DBGp para o depurador, vexa tamén http://xdebug.org
-Comment[hu]=DBGp nyomkövető modul, lásd: http://xdebug.org
-Comment[is]=DBGp aflúsunaríforrit. Sjá http://xdebug.org
-Comment[it]=Plugin di degub DBGp, vedi http://xdebug.org
-Comment[ja]=DBGp デバッガ プラグイン。http://xdebug.org をご覧ください。
-Comment[ka]=DBGp განბზიკვის მოდული, იხილეთ http://xdebug.org
-Comment[lt]=DBGp derintuvės priedas, žr. http://xdebug.org
-Comment[ms]=Plugin nyahpepijat DBGp, lihat http://xdebug.org
-Comment[nds]=Fehlersöök-Moduul för't DBGp, kiek bi http://xdebug.org
-Comment[ne]=DBGp त्रुटिमोचक प्लगइन, http://xdebug.org हेर्नुहोस्
-Comment[nl]=DBGp-debugger-plugin, zie http://xdebug.org
-Comment[pl]=Wtyczka debugera DBGp, patrz http://xdebug.org
-Comment[pt]='Plugin' de depuração DBGp, veja http://xdebug.org
-Comment[pt_BR]=Plugin de depuração DBGp, veja http://xdebug.org
-Comment[ru]=Модуль для отладчика DBGp, http://xdebug.org
-Comment[sk]=DBGp debuger modul, pozri http://xdebug.org
-Comment[sl]=Vstavek za razhoroščevanje DBGp, glej http://xdebug.org
-Comment[sr]=DBGp прикључак, види http://xdebug.org
-Comment[sr@Latn]=DBGp priključak, vidi http://xdebug.org
-Comment[sv]=DBGp-insticksprogram för felsökning, se http://xdebug.org
-Comment[uk]=Втулок зневаджувача DBGp, див. http://xdebug.org
-Comment[zh_CN]=DBGp 调试器插件,参看 http://xdebug.org
-Comment[zh_HK]=DBGp 除錯器外掛程式,請參閱 http://xdebug.org
-Comment[zh_TW]=DBGp 除錯器外掛程式,請參閱 http://xdebug.org
+
+Type=Service
Icon=kdbg
X-TDE-ServiceTypes=Quanta/Debugger
X-TDE-Library=quantadebuggerdbgp
diff --git a/quanta/components/debugger/dbgp/quantadebuggerdbgp.h b/quanta/components/debugger/dbgp/quantadebuggerdbgp.h
index 5d7d551b..37d776db 100644
--- a/quanta/components/debugger/dbgp/quantadebuggerdbgp.h
+++ b/quanta/components/debugger/dbgp/quantadebuggerdbgp.h
@@ -31,7 +31,7 @@ typedef TQMap<TQString, TQString> StringMap;
class QuantaDebuggerDBGp : public DebuggerClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/debuggerbreakpointview.cpp b/quanta/components/debugger/debuggerbreakpointview.cpp
index 7cb4c097..140ee4b7 100644
--- a/quanta/components/debugger/debuggerbreakpointview.cpp
+++ b/quanta/components/debugger/debuggerbreakpointview.cpp
@@ -67,12 +67,12 @@ DebuggerBreakpointView::DebuggerBreakpointView(TQWidget *parent, const char *nam
setAllColumnsShowFocus(true);
m_breakpointPopup = new TDEPopupMenu(this);
- m_breakpointPopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQT_SLOT(slotRemoveSelected()));
+ m_breakpointPopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQ_SLOT(slotRemoveSelected()));
- connect(this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQT_SLOT(slotBreakpointContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
+ connect(this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQ_SLOT(slotBreakpointContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
// Jump to bp
- connect(this, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQT_SLOT(slotBreakpointDoubleClick( TQListViewItem *, const TQPoint &, int)));
+ connect(this, TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int) ), this, TQ_SLOT(slotBreakpointDoubleClick( TQListViewItem *, const TQPoint &, int)));
}
diff --git a/quanta/components/debugger/debuggerbreakpointview.h b/quanta/components/debugger/debuggerbreakpointview.h
index 074de811..0686a4ac 100644
--- a/quanta/components/debugger/debuggerbreakpointview.h
+++ b/quanta/components/debugger/debuggerbreakpointview.h
@@ -43,7 +43,7 @@ class DebuggerBreakpointViewItem : public TDEListViewItem
class DebuggerBreakpointView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/debuggermanager.cpp b/quanta/components/debugger/debuggermanager.cpp
index ff41b764..b672617c 100644
--- a/quanta/components/debugger/debuggermanager.cpp
+++ b/quanta/components/debugger/debuggermanager.cpp
@@ -67,7 +67,7 @@ void DebuggerManager::slotNewProjectLoaded(const TQString &projectname, const KU
if(m_client)
{
- disconnect(m_client, TQT_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQT_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
+ disconnect(m_client, TQ_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQ_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
delete m_client;
m_client = NULL;
@@ -143,7 +143,7 @@ void DebuggerManager::slotNewProjectLoaded(const TQString &projectname, const KU
// recreate UI
m_debuggerui = new DebuggerUI(this, "debuggerui");
- connect(m_client, TQT_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQT_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
+ connect(m_client, TQ_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQ_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
// Load saved breakpoints
if(Project::ref()->debuggerPersistentBreakpoints())
@@ -212,65 +212,65 @@ void DebuggerManager::initActions()
return;
//Debugger, breakpoint
- newaction = new TDEAction(i18n("Toggle &Breakpoint"), SmallIcon("debug_breakpoint"), TQt::CTRL+TQt::SHIFT+TQt::Key_B, this, TQT_SLOT(toggleBreakpoint()), ac, "debug_breakpoints_toggle");
+ newaction = new TDEAction(i18n("Toggle &Breakpoint"), SmallIcon("debug_breakpoint"), TQt::CTRL+TQt::SHIFT+TQt::Key_B, this, TQ_SLOT(toggleBreakpoint()), ac, "debug_breakpoints_toggle");
newaction->setToolTip(i18n("Toggles a breakpoint at the current cursor location"));
- newaction = new TDEAction(i18n("&Clear Breakpoints"), 0, this, TQT_SLOT(clearBreakpoints()), ac, "debug_breakpoints_clear");
+ newaction = new TDEAction(i18n("&Clear Breakpoints"), 0, this, TQ_SLOT(clearBreakpoints()), ac, "debug_breakpoints_clear");
newaction->setToolTip(i18n("Clears all breakpoints"));
- newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQT_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_break");
+ newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQ_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_break");
newaction->setToolTip(i18n("Adds a new conditional breakpoint"));
- newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQT_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_breakdialog");
+ newaction = new TDEAction(i18n("Break When..."), SmallIcon("math_int"), 0, this, TQ_SLOT(slotConditionalBreakpoint()), ac, "debug_conditional_breakdialog");
newaction->setToolTip(i18n("Adds a new conditional breakpoint"));
// Execution
- newaction = new TDEAction(i18n("Send HTTP R&equest"), SmallIcon("debug_currentline"), 0, this, TQT_SLOT(slotDebugRequest()), ac, "debug_request");
+ newaction = new TDEAction(i18n("Send HTTP R&equest"), SmallIcon("debug_currentline"), 0, this, TQ_SLOT(slotDebugRequest()), ac, "debug_request");
newaction->setToolTip(i18n("Initiate HTTP Request to the server with debugging activated"));
- newaction = new TDEAction(i18n("&Trace"), SmallIcon("debug_run"), 0, this, TQT_SLOT(slotDebugTrace()), ac, "debug_trace");
+ newaction = new TDEAction(i18n("&Trace"), SmallIcon("debug_run"), 0, this, TQ_SLOT(slotDebugTrace()), ac, "debug_trace");
newaction->setToolTip(i18n("Traces through the script. If a script is currently not being debugged, it will start in trace mode when started"));
- newaction = new TDEAction(i18n("&Run"), SmallIcon("debug_leap"), 0, this, TQT_SLOT(slotDebugRun()), ac, "debug_run");
+ newaction = new TDEAction(i18n("&Run"), SmallIcon("debug_leap"), 0, this, TQ_SLOT(slotDebugRun()), ac, "debug_run");
newaction->setToolTip(i18n("Runs the script. If a script is currently not being debugged, it will start in run mode when started"));
- newaction = new TDEAction(i18n("&Step"), SmallIcon("debug_stepover"), 0, this, TQT_SLOT(slotDebugStepOver()), ac, "debug_stepover");
+ newaction = new TDEAction(i18n("&Step"), SmallIcon("debug_stepover"), 0, this, TQ_SLOT(slotDebugStepOver()), ac, "debug_stepover");
newaction->setToolTip(i18n("Executes the next line of execution, but does not step into functions or includes"));
- newaction = new TDEAction(i18n("Step &Into"), SmallIcon("debug_stepinto"), 0, this, TQT_SLOT(slotDebugStepInto()), ac, "debug_stepinto");
+ newaction = new TDEAction(i18n("Step &Into"), SmallIcon("debug_stepinto"), 0, this, TQ_SLOT(slotDebugStepInto()), ac, "debug_stepinto");
newaction->setToolTip(i18n("Executes the next line of execution and steps into it if it is a function call or inclusion of a file"));
- newaction = new TDEAction(i18n("S&kip"), SmallIcon("debug_skip"), 0, this, TQT_SLOT(slotDebugSkip()), ac, "debug_skip");
+ newaction = new TDEAction(i18n("S&kip"), SmallIcon("debug_skip"), 0, this, TQ_SLOT(slotDebugSkip()), ac, "debug_skip");
newaction->setToolTip(i18n("Skips the next command of execution and makes the next command the current one"));
- newaction = new TDEAction(i18n("Step &Out"), SmallIcon("debug_stepout"), 0, this, TQT_SLOT(slotDebugStepOut()), ac, "debug_stepout");
+ newaction = new TDEAction(i18n("Step &Out"), SmallIcon("debug_stepout"), 0, this, TQ_SLOT(slotDebugStepOut()), ac, "debug_stepout");
newaction->setToolTip(i18n("Executes the rest of the commands in the current function/file and pauses when it is done (when it reaches a higher level in the backtrace)"));
- newaction = new TDEAction(i18n("&Pause"), SmallIcon("debug_pause"), 0, this, TQT_SLOT(slotDebugPause()), ac, "debug_pause");
+ newaction = new TDEAction(i18n("&Pause"), SmallIcon("debug_pause"), 0, this, TQ_SLOT(slotDebugPause()), ac, "debug_pause");
newaction->setToolTip(i18n("Pauses the scripts if it is running or tracing. If a script is currently not being debugged, it will start in paused mode when started"));
- newaction = new TDEAction(i18n("Kill"), SmallIcon("debug_kill"), 0, this, TQT_SLOT(slotDebugKill()), ac, "debug_kill");
+ newaction = new TDEAction(i18n("Kill"), SmallIcon("debug_kill"), 0, this, TQ_SLOT(slotDebugKill()), ac, "debug_kill");
newaction->setToolTip(i18n("Kills the currently running script"));
- newaction = new TDEAction(i18n("Start Session"), SmallIcon("debug_connect"), 0, this, TQT_SLOT(slotDebugStartSession()), ac, "debug_connect");
+ newaction = new TDEAction(i18n("Start Session"), SmallIcon("debug_connect"), 0, this, TQ_SLOT(slotDebugStartSession()), ac, "debug_connect");
newaction->setToolTip(i18n("Starts the debugger internally (Makes debugging possible)"));
- newaction = new TDEAction(i18n("End Session"), SmallIcon("debug_disconnect"), 0, this, TQT_SLOT(slotDebugEndSession()), ac, "debug_disconnect");
+ newaction = new TDEAction(i18n("End Session"), SmallIcon("debug_disconnect"), 0, this, TQ_SLOT(slotDebugEndSession()), ac, "debug_disconnect");
newaction->setToolTip(i18n("Stops the debugger internally (debugging not longer possible)"));
// Variables
- newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQT_SLOT(slotAddWatch()), ac, "debug_addwatch");
+ newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQ_SLOT(slotAddWatch()), ac, "debug_addwatch");
newaction->setToolTip(i18n("Adds a variable to the watch list"));
- newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQT_SLOT(slotAddWatch()), ac, "debug_addwatchdialog");
+ newaction = new TDEAction(i18n("Watch Variable"), SmallIcon("math_brace"), 0, this, TQ_SLOT(slotAddWatch()), ac, "debug_addwatchdialog");
newaction->setToolTip(i18n("Adds a variable to the watch list"));
- newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQT_SLOT(slotVariableSet()), ac, "debug_variable_set");
+ newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQ_SLOT(slotVariableSet()), ac, "debug_variable_set");
newaction->setToolTip(i18n("Changes the value of a variable"));
- newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQT_SLOT(slotVariableSet()), ac, "debug_variable_setdialog");
+ newaction = new TDEAction(i18n("Set Value of Variable"), SmallIcon("edit"), 0, this, TQ_SLOT(slotVariableSet()), ac, "debug_variable_setdialog");
newaction->setToolTip(i18n("Changes the value of a variable"));
- newaction = new TDEAction(i18n("Open Profiler Output"), SmallIcon("launch"), 0, this, TQT_SLOT(slotProfilerOpen()), ac, "debug_profiler_open");
+ newaction = new TDEAction(i18n("Open Profiler Output"), SmallIcon("launch"), 0, this, TQ_SLOT(slotProfilerOpen()), ac, "debug_profiler_open");
newaction->setToolTip(i18n("Opens the profiler output file"));
enableAction("*", false);
@@ -299,7 +299,7 @@ DebuggerManager::~DebuggerManager()
if(m_client)
{
- disconnect(m_client, TQT_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQT_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
+ disconnect(m_client, TQ_SIGNAL(updateStatus(DebuggerUI::DebuggerStatus)), m_debuggerui, TQ_SLOT(slotStatus(DebuggerUI::DebuggerStatus)));
delete m_client;
m_client = 0L;
@@ -642,20 +642,20 @@ void DebuggerManager::setMark(const TQString& filename, long line, bool set, int
void DebuggerManager::connectBreakpointSignals(Document* qdoc)
{
- connect(qdoc, TQT_SIGNAL(breakpointMarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointMarked(Document*, int)));
+ connect(qdoc, TQ_SIGNAL(breakpointMarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointMarked(Document*, int)));
- connect(qdoc, TQT_SIGNAL(breakpointUnmarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointUnmarked(Document*, int)));
+ connect(qdoc, TQ_SIGNAL(breakpointUnmarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointUnmarked(Document*, int)));
}
void DebuggerManager::disconnectBreakpointSignals(Document* qdoc)
{
- disconnect(qdoc, TQT_SIGNAL(breakpointMarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointMarked(Document*, int)));
+ disconnect(qdoc, TQ_SIGNAL(breakpointMarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointMarked(Document*, int)));
- disconnect(qdoc, TQT_SIGNAL(breakpointUnmarked(Document*, int)),
- this, TQT_SLOT(slotBreakpointUnmarked(Document*, int)));
+ disconnect(qdoc, TQ_SIGNAL(breakpointUnmarked(Document*, int)),
+ this, TQ_SLOT(slotBreakpointUnmarked(Document*, int)));
}
// Show a status message and optionally put it on the log
diff --git a/quanta/components/debugger/debuggermanager.h b/quanta/components/debugger/debuggermanager.h
index 1a4bec52..ef91551a 100644
--- a/quanta/components/debugger/debuggermanager.h
+++ b/quanta/components/debugger/debuggermanager.h
@@ -32,7 +32,7 @@ class Document;
class DebuggerManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
// client
diff --git a/quanta/components/debugger/debuggerui.cpp b/quanta/components/debugger/debuggerui.cpp
index 9f512460..1fcdc7da 100644
--- a/quanta/components/debugger/debuggerui.cpp
+++ b/quanta/components/debugger/debuggerui.cpp
@@ -64,14 +64,14 @@ DebuggerUI::DebuggerUI(TQObject *parent, const char *name)
m_preview->view()->setIcon(UserIcon("debug_run"));
m_preview->view()->setCaption(i18n("Debug Output"));
m_previewTVA = quantaApp->addToolWindow(m_preview->view(), quantaApp->prevDockPosition(m_preview->view(), KDockWidget::DockBottom), quantaApp->getMainDockWidget());
- connect(m_preview, TQT_SIGNAL(openFile(const KURL&, const TQString&, bool)), quantaApp, TQT_SLOT(slotFileOpen(const KURL&, const TQString&, bool)));
+ connect(m_preview, TQ_SIGNAL(openFile(const KURL&, const TQString&, bool)), quantaApp, TQ_SLOT(slotFileOpen(const KURL&, const TQString&, bool)));
// Show debugger toolbar
quantaApp->toolBar("debugger_toolbar")->show();
- connect(m_variablesListView, TQT_SIGNAL(removeVariable(DebuggerVariable* )), parent, TQT_SLOT(slotRemoveVariable(DebuggerVariable* )));
+ connect(m_variablesListView, TQ_SIGNAL(removeVariable(DebuggerVariable* )), parent, TQ_SLOT(slotRemoveVariable(DebuggerVariable* )));
- connect(m_debuggerBreakpointView, TQT_SIGNAL(removeBreakpoint(DebuggerBreakpoint* )), parent, TQT_SLOT(slotRemoveBreakpoint(DebuggerBreakpoint* )));
+ connect(m_debuggerBreakpointView, TQ_SIGNAL(removeBreakpoint(DebuggerBreakpoint* )), parent, TQ_SLOT(slotRemoveBreakpoint(DebuggerBreakpoint* )));
showMenu();
}
diff --git a/quanta/components/debugger/debuggerui.h b/quanta/components/debugger/debuggerui.h
index 04db4e94..4d972d08 100644
--- a/quanta/components/debugger/debuggerui.h
+++ b/quanta/components/debugger/debuggerui.h
@@ -34,7 +34,7 @@ class KURL;
class DebuggerUI : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/debuggervariablesets.ui b/quanta/components/debugger/debuggervariablesets.ui
index f8d674d5..2616edab 100644
--- a/quanta/components/debugger/debuggervariablesets.ui
+++ b/quanta/components/debugger/debuggervariablesets.ui
@@ -60,9 +60,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -77,9 +74,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/quanta/components/debugger/gubed/CMakeLists.txt b/quanta/components/debugger/gubed/CMakeLists.txt
index b528b30a..b25bb6f3 100644
--- a/quanta/components/debugger/gubed/CMakeLists.txt
+++ b/quanta/components/debugger/gubed/CMakeLists.txt
@@ -13,6 +13,9 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/quanta/components/debugger
${CMAKE_SOURCE_DIR}/quanta/components/debugger/interfaces
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -24,7 +27,11 @@ link_directories(
##### other data ################################
-install( FILES quantadebuggergubed.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE quantadebuggergubed.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
##### quantadebuggergubed (module) ##############
diff --git a/quanta/components/debugger/gubed/gubedsettings.h b/quanta/components/debugger/gubed/gubedsettings.h
index ab07a6c6..300287bd 100644
--- a/quanta/components/debugger/gubed/gubedsettings.h
+++ b/quanta/components/debugger/gubed/gubedsettings.h
@@ -21,7 +21,7 @@
class GubedSettings : public GubedSettingsS
{
- Q_OBJECT
+ TQ_OBJECT
public slots:
diff --git a/quanta/components/debugger/gubed/gubedsettingss.ui b/quanta/components/debugger/gubed/gubedsettingss.ui
index c9caa54c..a9e80bc2 100644
--- a/quanta/components/debugger/gubed/gubedsettingss.ui
+++ b/quanta/components/debugger/gubed/gubedsettingss.ui
@@ -60,9 +60,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -752,11 +749,11 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot specifier="pure virtual">slotUseProxyToggle( bool )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ktextbrowser.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">ktextbrowser.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.cpp b/quanta/components/debugger/gubed/quantadebuggergubed.cpp
index 14d46941..086ff878 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.cpp
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.cpp
@@ -98,10 +98,10 @@ void QuantaDebuggerGubed::startSession()
{
m_socket = new KNetwork::KStreamSocket(m_serverHost, m_serverPort);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
m_socket->connect();
debuggerInterface()->enableAction("debug_connect", true);
@@ -119,7 +119,7 @@ void QuantaDebuggerGubed::startSession()
m_server = new KNetwork::TDEServerSocket(m_listenPort);
m_server->setAddressReuseable(true);
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
if(m_server->listen())
{
@@ -280,7 +280,7 @@ void QuantaDebuggerGubed::slotReadyAccept()
{
// Perhaps this shouldnt be disconnected - instead check if connections are available at disconnect?
- disconnect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ disconnect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
m_socket = (KNetwork::KStreamSocket *)m_server->accept(); // TDESocketServer returns a KStreamSocket (!)
if(m_socket)
@@ -288,10 +288,10 @@ void QuantaDebuggerGubed::slotReadyAccept()
kdDebug(24002) << k_funcinfo << ", ready" << endl;
m_socket->enableRead(true);
- connect(m_socket, TQT_SIGNAL(gotError(int)), this, TQT_SLOT(slotError(int)));
- connect(m_socket, TQT_SIGNAL(connected(const KResolverEntry &)), this, TQT_SLOT(slotConnected(const KResolverEntry &)));
- connect(m_socket, TQT_SIGNAL(closed()), this, TQT_SLOT(slotConnectionClosed()));
- connect(m_socket, TQT_SIGNAL(readyRead()), this, TQT_SLOT(slotReadyRead()));
+ connect(m_socket, TQ_SIGNAL(gotError(int)), this, TQ_SLOT(slotError(int)));
+ connect(m_socket, TQ_SIGNAL(connected(const KResolverEntry &)), this, TQ_SLOT(slotConnected(const KResolverEntry &)));
+ connect(m_socket, TQ_SIGNAL(closed()), this, TQ_SLOT(slotConnectionClosed()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), this, TQ_SLOT(slotReadyRead()));
connected();
emit updateStatus(DebuggerUI::Connected);
@@ -339,7 +339,7 @@ void QuantaDebuggerGubed::slotConnectionClosed()
}
if(m_server)
- connect(m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotReadyAccept()));
+ connect(m_server, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(slotReadyAccept()));
// Disable all session related actions and enable connection action
debuggerInterface()->enableAction("*", false);
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.desktop b/quanta/components/debugger/gubed/quantadebuggergubed.desktop
index f86c706a..587225ad 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.desktop
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.desktop
@@ -1,48 +1,9 @@
[Desktop Entry]
-Type=Service
Name=Gubed
-Name[ne]=ग्युब्ड
-Name[ta]=குபெட்
+
Comment=Quanta debugger plugin to interact with the Gubed PHP debugger, see http://gubed.sf.net
-Comment[bg]=Приставка на Quanta за връзка с дебъгера Gubed PHP, http://gubed.sf.net
-Comment[ca]=Connector de depuració pel Quanta que interactua amb el depurador Gubed PHP, consulteu http://gubed.sf.net
-Comment[cs]=Ladicí modul Quanty s Gubed PHP debuggerem, viz http://gubed.sf.net
-Comment[da]=Quanta fejlretter-plugin til at virke sammen med Gubed PHP fejlretter, se http://gubed.sf.net
-Comment[de]=Debug-Komponente von Quanta für die Unterstützung des Gubed PHP-Debuggers. Näheres siehe http://gubed.sf.net
-Comment[el]=Αποσφαλματωτής Quanta σε συνεργασία με το αποσφαλματωτή Gubed PHP, δείτε http://gubed.sf.net
-Comment[es]=Accesorio de depuración de Quanta, para interactuar con el depurador de PHP Gubed. Vea http://gubed.sf.net
-Comment[et]=Quanta siluriplugin koostööks PHP siluriga Gubed (vaata http://gubed.sf.net)
-Comment[eu]=Gubed PHP araztailearekin lan egiteko Quanta araztailearen plugina, ikusi http://gubed.sf.net
-Comment[fa]=وصلۀ اشکال‌زدای Quanta برای تعامل با اشکال‌زدای Gubed PHP، http://gubed.sf.net را ببینید
-Comment[fi]=Gubed PHP debuggerin plugin Quantan debuggeriin (katso http://gubed.sf.net)
-Comment[fr]=Module de débogage de Quanta pour interagir avec le débogueur PHP Gubed ; consulter http://gubed.sf.net.
-Comment[gl]=Plugin de depuración de Quanta para interactuar co depurador de PHP Gubed, vexa tamén http://gubed.sf.net
-Comment[hu]=Quanta-nyomkövető (bővítőmodulként) a Gubed PHP-nyomkövetőhöz, lásd: http://gubed.sf.net
-Comment[is]=Quanta aflúsunaríforrit til samskipta við Gubed PHP aflúsarann. Sjá http://gubed.sf.net
-Comment[it]=Plugin debugger di Quanta per interagire con il debugger PHP Gubed, vedi http://gubed.sf.net
-Comment[ja]=Gubed PHP デバッガと対話する Quanta デバッガ。詳細は http://gubed.sf.net
-Comment[ka]=Quanta-ს განბზიკვის მოდული Gubed PHP განბზიკავთან დასაკავშირებლად, იხილეთ http://gubed.sf.net
-Comment[lt]=Quanta derintuvės priedas skirtas dirbti su Gubed PHP derintuve, žr.http://gubed.sf.net
-Comment[ms]=Plug masuk penyah-ralat Quanta untuk berinteraksi dengan penyah-ralat Gubed PHP, lihat http://gubed.sf.net
-Comment[nds]=Fehlersöök-Moduul för Quanta för't Tosamenwarken mit den PHP-Fehlersöker "Gubed", kiek op http://gubed.sf.net
-Comment[ne]=ग्युब्ड पीएचपी त्रुटिमोचकसँग अन्तर्क्रिया गर्नका लागि क्वान्टा त्रुटिमोचक प्लगइन, http://gubed.sf.net हेर्नुहोस्
-Comment[nl]=Quanta debugger plugin om te communiceren met de Gubed PHP debugger, zie http://gubed.sf.net
-Comment[pl]=Wtyczka debuggera Quanty współpracująca z debuggerem PHP Gubed , patrz http://gubed.sf.net
-Comment[pt]='Plugin' de Depuração do Quanta para interagir com o depurador de PHP Gubed, veja http://gubed.sf.net
-Comment[pt_BR]=Plugin do debugger do Quanta para interagir com o debugger PHP Gubed, olhe http://gubed.sf.net
-Comment[ru]=Модуль отладчика Quanta для связи с Gubed, отладчиком PHP, см. http://gubed.sf.net
-Comment[sk]=Quanta debuger modul pre interakciu s Gubed PHP debugerom, pozrihttp://gubed.sf.net
-Comment[sl]=Vstavek razhroščevanja v Quanti, ki sodeluje z razhroščevalnikom Gubed PHP, glejte http://gubed.sf.net
-Comment[sr]=Исправљачки прикључак Quanta-е за интеракцију са исправљачем PHP-а Gubed, погледајте http://gubed.sf.net
-Comment[sr@Latn]=Ispravljački priključak Quanta-e za interakciju sa ispravljačem PHP-a Gubed, pogledajte http://gubed.sf.net
-Comment[sv]=Quanta-insticksprogram för felsökning som fungerar med PHP-felsökaren Gubed, se http://gubed.sf.net
-Comment[ta]=குவாண்டா வழுநீக்கி உள்ளீடு குபெட்PHP வழுநீக்கியோடு தொடர்புக் கொண்டிருக்கிறது, பார்க்கவும் http://gubed.sf.net
-Comment[tg]=Модули ғалатёби Quanta барои алоқаи аз Gubed, ғалатёби PHP, нишон кунед http://gubed.sf.net
-Comment[tr]=Gubed PHP hata ayıklayıcısıyla iletişim kurmayı sağlayan Quanta hata ayıklama eklentisi, http://gubed.sf.net adresini ziyaret edin
-Comment[uk]=Втулок зневадження Quanta для зв'язку зі зневаджувачем PHP -- Gubed, див. http://gubed.sf.net
-Comment[zh_CN]=与 Gubed PHP 调试器交互 Quanta 调试器插件,见 http://gubed.sf.net
-Comment[zh_HK]=Quanta 對於 Gubed PHP 除錯器的通訊外掛程式, 請參閱 http://gubed.sf.net
-Comment[zh_TW]=Quanta 對於 Gubed PHP 除錯器的通訊外掛程式, 請參閱 http://gubed.sf.net
+
+Type=Service
Icon=kdbg
X-TDE-ServiceTypes=Quanta/Debugger
X-TDE-Library=quantadebuggergubed
diff --git a/quanta/components/debugger/gubed/quantadebuggergubed.h b/quanta/components/debugger/gubed/quantadebuggergubed.h
index ead8ffd5..e6d33fd7 100644
--- a/quanta/components/debugger/gubed/quantadebuggergubed.h
+++ b/quanta/components/debugger/gubed/quantadebuggergubed.h
@@ -30,7 +30,7 @@ typedef TQMap<TQString, TQString> StringMap;
class QuantaDebuggerGubed : public DebuggerClient
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/interfaces/CMakeLists.txt b/quanta/components/debugger/interfaces/CMakeLists.txt
index 9778dbe0..8307ab2c 100644
--- a/quanta/components/debugger/interfaces/CMakeLists.txt
+++ b/quanta/components/debugger/interfaces/CMakeLists.txt
@@ -12,11 +12,18 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_SOURCE_DIR}/quanta/components/debugger
+)
+
+include_directories( SYSTEM
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
-install( FILES quantadebugger.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE quantadebugger.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR}
+ PO_DIR quanta-desktops
+)
##### debuggerinterface (static) ################
diff --git a/quanta/components/debugger/interfaces/debuggerclient.h b/quanta/components/debugger/interfaces/debuggerclient.h
index adc914f8..ca51566e 100644
--- a/quanta/components/debugger/interfaces/debuggerclient.h
+++ b/quanta/components/debugger/interfaces/debuggerclient.h
@@ -62,7 +62,7 @@ namespace DebuggerClientCapabilities
class DebuggerClient : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/interfaces/debuggerinterface.h b/quanta/components/debugger/interfaces/debuggerinterface.h
index fc8f0f2f..e62cd8c4 100644
--- a/quanta/components/debugger/interfaces/debuggerinterface.h
+++ b/quanta/components/debugger/interfaces/debuggerinterface.h
@@ -30,7 +30,7 @@ class PathMapper;
class DebuggerInterface : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/interfaces/quantadebugger.desktop b/quanta/components/debugger/interfaces/quantadebugger.desktop
index 0c5d5bbf..c46e3c35 100644
--- a/quanta/components/debugger/interfaces/quantadebugger.desktop
+++ b/quanta/components/debugger/interfaces/quantadebugger.desktop
@@ -1,45 +1,5 @@
[Desktop Entry]
+Comment=A Quanta Debugger plugin
+
Type=ServiceType
X-TDE-ServiceType=TQuanta/Debugger
-Comment=A Quanta Debugger plugin
-Comment[bg]=Приставка на Quanta за дебъгване
-Comment[br]=Ul lugent dizraener Quanta
-Comment[ca]=Un connector de depuració pel Quanta
-Comment[cs]=Ladicí modul Quanty
-Comment[da]=Et Quanta fejlretter-plugin
-Comment[de]=Eine Quanta Debugger-Komponente
-Comment[el]=Πρόσθετο αποσφαλματωτή Quanta
-Comment[es]=Un accesorio para un depurador de Quanta
-Comment[et]=Quanta siluriplugin
-Comment[eu]=Quanta araztailearen plugina
-Comment[fa]=وصلۀ اشکال‌زدای Quanta
-Comment[fi]=Quantan debuggerin plugin
-Comment[fr]=Un module de débogage pour Quanta
-Comment[ga]=Breiseán dífhabhtóra Quanta
-Comment[gl]=Un plugin para o depurador de Quanta
-Comment[hu]=Quanta nyomkövető-modul
-Comment[is]=Quanta aflúsunaríforrit
-Comment[it]=Un plugin debugger di Quanta
-Comment[ja]=Quanta デバッガプラグイン
-Comment[ka]=Quanta-ს განბზიკვის მოდული
-Comment[lt]=Quanta derintuvės priedas
-Comment[ms]=Plug masuk penyah-ralat Quanta
-Comment[nds]=En Fehlersöök-Komponent för Quanta
-Comment[ne]=एउटा क्वान्टा त्रुटिमोचक प्लगइन
-Comment[nl]=Een Quanta debugger-plugin
-Comment[pl]=Wtyczka debuggera Quanty
-Comment[pt]=Um 'plugin' de depuração para o Quanta
-Comment[pt_BR]=Um plugin do Debugger do Quanta
-Comment[ru]=Модуль отладки Quanta
-Comment[sk]=Quanta debuger modul
-Comment[sl]=Vstavek razhroščevanja v Quanti
-Comment[sr]=Исправљачки прикључак Quanta-е
-Comment[sr@Latn]=Ispravljački priključak Quanta-e
-Comment[sv]=Ett Quanta-insticksprogram för felsökning
-Comment[ta]=குவாண்டா வழுநீக்கி சொருகு
-Comment[tg]=Модули ғалатёби Quanta
-Comment[tr]=Bir Quanta Hata Ayıklayıcı eklentisi
-Comment[uk]=Втулок зневадження Quanta
-Comment[zh_CN]=Quanta 调试器插件
-Comment[zh_HK]=一個 Quanta 除錯器的外掛程式
-Comment[zh_TW]=一個 Quanta 除錯器的外掛程式
diff --git a/quanta/components/debugger/pathmapper.h b/quanta/components/debugger/pathmapper.h
index f7d2c44a..d012189c 100644
--- a/quanta/components/debugger/pathmapper.h
+++ b/quanta/components/debugger/pathmapper.h
@@ -27,7 +27,7 @@ class KURL;
class PathMapper : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/pathmapperdialog.cpp b/quanta/components/debugger/pathmapperdialog.cpp
index 7f6f4027..343b55f3 100644
--- a/quanta/components/debugger/pathmapperdialog.cpp
+++ b/quanta/components/debugger/pathmapperdialog.cpp
@@ -32,9 +32,9 @@ PathMapperDialog::PathMapperDialog(const TQString& path, const PathMapperDialog:
if(m_direction == LocalToServer)
ledTranslationExists->hide();
- connect(listHistory, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()));
- connect(lineLocalPath, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPathsChanged()));
- connect(lineServerPath, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotPathsChanged()));
+ connect(listHistory, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
+ connect(lineLocalPath, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotPathsChanged()));
+ connect(lineServerPath, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotPathsChanged()));
}
PathMapperDialog::~PathMapperDialog()
diff --git a/quanta/components/debugger/pathmapperdialog.h b/quanta/components/debugger/pathmapperdialog.h
index 8c198416..922c9512 100644
--- a/quanta/components/debugger/pathmapperdialog.h
+++ b/quanta/components/debugger/pathmapperdialog.h
@@ -21,7 +21,7 @@
class PathMapperDialog : public PathMapperDialogS
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/quanta/components/debugger/pathmapperdialogs.ui b/quanta/components/debugger/pathmapperdialogs.ui
index 58a79167..22bedbf4 100644
--- a/quanta/components/debugger/pathmapperdialogs.ui
+++ b/quanta/components/debugger/pathmapperdialogs.ui
@@ -123,9 +123,6 @@ The quanta will know that files starting with "/home/user/project/" on the local
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -140,9 +137,6 @@ The quanta will know that files starting with "/home/user/project/" on the local
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -335,11 +329,11 @@ The quanta will know that files starting with "/home/user/project/" on the local
<slot>reject()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>slotHistoryclicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kled.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kled.h</include>
+</includes>
</UI>
diff --git a/quanta/components/debugger/quantadebuggerinterface.h b/quanta/components/debugger/quantadebuggerinterface.h
index 736bf517..4bdf6e1c 100644
--- a/quanta/components/debugger/quantadebuggerinterface.h
+++ b/quanta/components/debugger/quantadebuggerinterface.h
@@ -27,7 +27,7 @@ class DebuggerManager;
class QuantaDebuggerInterface : public DebuggerInterface
{
- Q_OBJECT
+ TQ_OBJECT
private:
diff --git a/quanta/components/debugger/variableslistview.cpp b/quanta/components/debugger/variableslistview.cpp
index 9624416f..8fc97aaf 100644
--- a/quanta/components/debugger/variableslistview.cpp
+++ b/quanta/components/debugger/variableslistview.cpp
@@ -60,16 +60,16 @@ VariablesListView::VariablesListView(TQWidget *parent, const char *name)
setSorting(-1); // No sorting
m_variablePopup = new TDEPopupMenu(this);
- m_variablePopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQT_SLOT(slotRemoveSelected()), 0, removeWatch);
+ m_variablePopup->insertItem(SmallIcon("edit-delete"), i18n("&Remove"), this, TQ_SLOT(slotRemoveSelected()), 0, removeWatch);
if(quantaApp->debugger()->client()->supports(DebuggerClientCapabilities::VariableSetValue))
- m_variablePopup->insertItem(SmallIcon("edit"), i18n("&Set Value"), this, TQT_SLOT(slotVariableSetValue()), 0, setValue);
+ m_variablePopup->insertItem(SmallIcon("edit"), i18n("&Set Value"), this, TQ_SLOT(slotVariableSetValue()), 0, setValue);
- m_variablePopup->insertItem(SmallIcon("viewmag"), i18n("&Dump in Messages Log"), this, TQT_SLOT(slotVariableDump()), 0, dumpValue);
+ m_variablePopup->insertItem(SmallIcon("viewmag"), i18n("&Dump in Messages Log"), this, TQ_SLOT(slotVariableDump()), 0, dumpValue);
- m_variablePopup->insertItem(SmallIcon("edit-copy"), i18n("&Copy to Clipboard"), this, TQT_SLOT(slotVariableCopyToClipboard()), 0, copyValue);
+ m_variablePopup->insertItem(SmallIcon("edit-copy"), i18n("&Copy to Clipboard"), this, TQ_SLOT(slotVariableCopyToClipboard()), 0, copyValue);
- connect(this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQT_SLOT(slotVariableContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
+ connect(this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQ_SLOT(slotVariableContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
}
diff --git a/quanta/components/debugger/variableslistview.h b/quanta/components/debugger/variableslistview.h
index 69b27852..296fa7d9 100644
--- a/quanta/components/debugger/variableslistview.h
+++ b/quanta/components/debugger/variableslistview.h
@@ -27,7 +27,7 @@ class DebuggerVariable;
class VariablesListView : public TDEListView
{
- Q_OBJECT
+ TQ_OBJECT
enum menuitems