summaryrefslogtreecommitdiffstats
path: root/quanta/src/quantaview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:38:52 +0900
committerMichele Calgaro <[email protected]>2024-01-14 14:38:52 +0900
commit931991843ab3b6b0b0157dd433c226f7fc2ebc1b (patch)
treea13f719941f2a6bcde02ef743d26f553ef5ed530 /quanta/src/quantaview.cpp
parentdfaa5c55fe83e439b4404143f254da811bc0d7c6 (diff)
downloadtdewebdev-931991843ab3b6b0b0157dd433c226f7fc2ebc1b.tar.gz
tdewebdev-931991843ab3b6b0b0157dd433c226f7fc2ebc1b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'quanta/src/quantaview.cpp')
-rw-r--r--quanta/src/quantaview.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/quanta/src/quantaview.cpp b/quanta/src/quantaview.cpp
index 8003ce62..8e867d9a 100644
--- a/quanta/src/quantaview.cpp
+++ b/quanta/src/quantaview.cpp
@@ -86,8 +86,8 @@ QuantaView::QuantaView(TQWidget *parent, const char *name, const TQString &capti
{
setMDICaption(caption);
//Connect the VPL update timers
- connect(&m_sourceUpdateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(sourceUpdateTimerTimeout()));
- connect(&m_VPLUpdateTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(VPLUpdateTimerTimeout()));
+ connect(&m_sourceUpdateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(sourceUpdateTimerTimeout()));
+ connect(&m_VPLUpdateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(VPLUpdateTimerTimeout()));
//create the source and VPL holding widgets
m_documentArea = new TQWidget(this);
@@ -186,18 +186,18 @@ void QuantaView::addDocument(Document *document)
if (!document)
return;
m_document = document;
- connect(m_document, TQT_SIGNAL(editorGotFocus()), this, TQT_SLOT(slotSourceGetFocus()));
- connect(m_document->view(), TQT_SIGNAL(cursorPositionChanged()), this, TQT_SIGNAL(cursorPositionChanged()));
+ connect(m_document, TQ_SIGNAL(editorGotFocus()), this, TQ_SLOT(slotSourceGetFocus()));
+ connect(m_document->view(), TQ_SIGNAL(cursorPositionChanged()), this, TQ_SIGNAL(cursorPositionChanged()));
m_kafkaDocument = KafkaDocument::ref();
- connect(m_kafkaDocument->getKafkaWidget(), TQT_SIGNAL(hasFocus(bool)),
- this, TQT_SLOT(slotVPLGetFocus(bool)));
- connect(m_kafkaDocument, TQT_SIGNAL(newCursorPosition(int,int)),
- this, TQT_SLOT(slotSetCursorPositionInSource(int, int)));
- connect(m_kafkaDocument, TQT_SIGNAL(loadingError(Node *)),
- this, TQT_SLOT(slotVPLLoadingError(Node *)));
+ connect(m_kafkaDocument->getKafkaWidget(), TQ_SIGNAL(hasFocus(bool)),
+ this, TQ_SLOT(slotVPLGetFocus(bool)));
+ connect(m_kafkaDocument, TQ_SIGNAL(newCursorPosition(int,int)),
+ this, TQ_SLOT(slotSetCursorPositionInSource(int, int)));
+ connect(m_kafkaDocument, TQ_SIGNAL(loadingError(Node *)),
+ this, TQ_SLOT(slotVPLLoadingError(Node *)));
m_kafkaReloadingEnabled = true;
m_quantaReloadingEnabled = true;
@@ -1134,8 +1134,8 @@ bool QuantaView::saveDocument(const KURL& url)
{
KTextEditor::Document *doc = m_document->doc();
m_eventLoopStarted = false;
- connect(doc, TQT_SIGNAL(canceled(const TQString &)), this, TQT_SLOT(slotSavingFailed(const TQString &)));
- connect(doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotSavingCompleted()));
+ connect(doc, TQ_SIGNAL(canceled(const TQString &)), this, TQ_SLOT(slotSavingFailed(const TQString &)));
+ connect(doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotSavingCompleted()));
m_saveResult = m_document->saveAs(url);
if (m_saveResult)
{
@@ -1144,8 +1144,8 @@ bool QuantaView::saveDocument(const KURL& url)
m_eventLoopStarted = true;
internalFileInfo.enter_loop();
}
- disconnect(doc, TQT_SIGNAL(canceled(const TQString &)), this, TQT_SLOT(slotSavingFailed(const TQString &)));
- disconnect(doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotSavingCompleted()));
+ disconnect(doc, TQ_SIGNAL(canceled(const TQString &)), this, TQ_SLOT(slotSavingFailed(const TQString &)));
+ disconnect(doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotSavingCompleted()));
if (!m_saveResult) //there was an error while saving
{
if (oldURL.isLocalFile())