summaryrefslogtreecommitdiffstats
path: root/languages/pascal
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /languages/pascal
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'languages/pascal')
-rw-r--r--languages/pascal/PascalStoreWalkerTokenTypes.h2
-rw-r--r--languages/pascal/PascalTokenTypes.h2
-rw-r--r--languages/pascal/compiler/dccoptions/optiontabs.cpp4
-rw-r--r--languages/pascal/compiler/fpcoptions/optiontabs.cpp4
-rw-r--r--languages/pascal/pascalsupport_part.cpp40
-rw-r--r--languages/pascal/problemreporter.cpp28
6 files changed, 40 insertions, 40 deletions
diff --git a/languages/pascal/PascalStoreWalkerTokenTypes.h b/languages/pascal/PascalStoreWalkerTokenTypes.h
index 4631429c..1911fc9c 100644
--- a/languages/pascal/PascalStoreWalkerTokenTypes.h
+++ b/languages/pascal/PascalStoreWalkerTokenTypes.h
@@ -183,7 +183,7 @@ struct CUSTOM_API PascalStoreWalkerTokenTypes {
INHERITED = 172,
NEW = 173,
SELF = 174,
- TQT_METHOD = 175,
+ METHOD = 175,
ADDSUBOR = 176,
ASSIGNEQUAL = 177,
SIGN = 178,
diff --git a/languages/pascal/PascalTokenTypes.h b/languages/pascal/PascalTokenTypes.h
index 42e97d53..185197e4 100644
--- a/languages/pascal/PascalTokenTypes.h
+++ b/languages/pascal/PascalTokenTypes.h
@@ -186,7 +186,7 @@ struct CUSTOM_API PascalTokenTypes {
INHERITED = 172,
NEW = 173,
SELF = 174,
- TQT_METHOD = 175,
+ METHOD = 175,
ADDSUBOR = 176,
ASSIGNEQUAL = 177,
SIGN = 178,
diff --git a/languages/pascal/compiler/dccoptions/optiontabs.cpp b/languages/pascal/compiler/dccoptions/optiontabs.cpp
index 306fe5a0..bc586c0c 100644
--- a/languages/pascal/compiler/dccoptions/optiontabs.cpp
+++ b/languages/pascal/compiler/dccoptions/optiontabs.cpp
@@ -357,8 +357,8 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
layout3->addWidget(release);
layout3->addWidget(debug);
TQApplication::sendPostedEvents(this, TQEvent::ChildInserted);
- connect(release, TQT_SIGNAL(clicked()), this, TQT_SLOT(setReleaseOptions()));
- connect(debug, TQT_SIGNAL(clicked()), this, TQT_SLOT(setDebugOptions()));
+ connect(release, TQ_SIGNAL(clicked()), this, TQ_SLOT(setReleaseOptions()));
+ connect(debug, TQ_SIGNAL(clicked()), this, TQ_SLOT(setDebugOptions()));
layout->addStretch();
}
diff --git a/languages/pascal/compiler/fpcoptions/optiontabs.cpp b/languages/pascal/compiler/fpcoptions/optiontabs.cpp
index 86c77cda..4f39337d 100644
--- a/languages/pascal/compiler/fpcoptions/optiontabs.cpp
+++ b/languages/pascal/compiler/fpcoptions/optiontabs.cpp
@@ -410,8 +410,8 @@ DebugOptimTab::DebugOptimTab( TQWidget * parent, const char * name )
TQPushButton *debug = new TQPushButton(i18n("Debug"), this);
layout6->addWidget(release);
layout6->addWidget(debug);
- connect(release, TQT_SIGNAL(clicked()), this, TQT_SLOT(setReleaseOptions()));
- connect(debug, TQT_SIGNAL(clicked()), this, TQT_SLOT(setDebugOptions()));
+ connect(release, TQ_SIGNAL(clicked()), this, TQ_SLOT(setReleaseOptions()));
+ connect(debug, TQ_SIGNAL(clicked()), this, TQ_SLOT(setDebugOptions()));
layout->addStretch();
}
diff --git a/languages/pascal/pascalsupport_part.cpp b/languages/pascal/pascalsupport_part.cpp
index 90532c22..76758693 100644
--- a/languages/pascal/pascalsupport_part.cpp
+++ b/languages/pascal/pascalsupport_part.cpp
@@ -55,19 +55,19 @@ PascalSupportPart::PascalSupportPart(TQObject *parent, const char *name, const T
setXMLFile("kdevpascalsupport.rc");
d->problemReporter = new ProblemReporter( this );
- connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)),
- d->problemReporter, TQT_SLOT(configWidget(KDialogBase*)) );
-
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) );
- connect( partController(), TQT_SIGNAL(savedFile(const KURL&)),
- this, TQT_SLOT(savedFile(const KURL&)) );
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
- connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)),
- this, TQT_SLOT(configWidget(KDialogBase*)) );
- connect( core( ), TQT_SIGNAL( projectConfigWidget( KDialogBase* ) ), this,
- TQT_SLOT( projectConfigWidget( KDialogBase* ) ) );
+ connect( core(), TQ_SIGNAL(configWidget(KDialogBase*)),
+ d->problemReporter, TQ_SLOT(configWidget(KDialogBase*)) );
+
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(projectClosed()) );
+ connect( partController(), TQ_SIGNAL(savedFile(const KURL&)),
+ this, TQ_SLOT(savedFile(const KURL&)) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(configWidget(KDialogBase*)),
+ this, TQ_SLOT(configWidget(KDialogBase*)) );
+ connect( core( ), TQ_SIGNAL( projectConfigWidget( KDialogBase* ) ), this,
+ TQ_SLOT( projectConfigWidget( KDialogBase* ) ) );
mainWindow()->embedOutputView( d->problemReporter, i18n("Problems"), i18n("problem reporter") );
TQWhatsThis::add(d->problemReporter, i18n("<b>Problem reporter</b><p>This window shows various \"problems\" in your project. "
@@ -89,17 +89,17 @@ PascalSupportPart::Features PascalSupportPart::features()
void PascalSupportPart::projectOpened()
{
- connect(project(), TQT_SIGNAL(addedFilesToProject(const TQStringList &)),
- this, TQT_SLOT(addedFilesToProject(const TQStringList &)));
- connect(project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList &)),
- this, TQT_SLOT(removedFilesFromProject(const TQStringList &)));
- connect(project(), TQT_SIGNAL(projectCompiled()),
- this, TQT_SLOT(slotProjectCompiled()) );
+ connect(project(), TQ_SIGNAL(addedFilesToProject(const TQStringList &)),
+ this, TQ_SLOT(addedFilesToProject(const TQStringList &)));
+ connect(project(), TQ_SIGNAL(removedFilesFromProject(const TQStringList &)),
+ this, TQ_SLOT(removedFilesFromProject(const TQStringList &)));
+ connect(project(), TQ_SIGNAL(projectCompiled()),
+ this, TQ_SLOT(slotProjectCompiled()) );
m_projectFileList = project()->allFiles();
m_projectClosed = false;
- TQTimer::singleShot(0, this, TQT_SLOT(initialParse()));
+ TQTimer::singleShot(0, this, TQ_SLOT(initialParse()));
}
void PascalSupportPart::projectClosed()
diff --git a/languages/pascal/problemreporter.cpp b/languages/pascal/problemreporter.cpp
index d0aaf01a..d88599e0 100644
--- a/languages/pascal/problemreporter.cpp
+++ b/languages/pascal/problemreporter.cpp
@@ -86,19 +86,19 @@ ProblemReporter::ProblemReporter( PascalSupportPart* part, TQWidget* parent, con
m_timer = new TQTimer( this );
- connect( part->partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
- this, TQT_SLOT(slotActivePartChanged(KParts::Part*)) );
- connect( part->partController(), TQT_SIGNAL(partAdded(KParts::Part*)),
- this, TQT_SLOT(slotPartAdded(KParts::Part*)) );
- connect( part->partController(), TQT_SIGNAL(partRemoved(KParts::Part*)),
- this, TQT_SLOT(slotPartRemoved(KParts::Part*)) );
+ connect( part->partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)),
+ this, TQ_SLOT(slotActivePartChanged(KParts::Part*)) );
+ connect( part->partController(), TQ_SIGNAL(partAdded(KParts::Part*)),
+ this, TQ_SLOT(slotPartAdded(KParts::Part*)) );
+ connect( part->partController(), TQ_SIGNAL(partRemoved(KParts::Part*)),
+ this, TQ_SLOT(slotPartRemoved(KParts::Part*)) );
- connect( m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(reparse()) );
+ connect( m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(reparse()) );
- connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- this, TQT_SLOT(slotSelected(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)),
- this, TQT_SLOT(slotSelected(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ this, TQ_SLOT(slotSelected(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)),
+ this, TQ_SLOT(slotSelected(TQListViewItem*)) );
configure();
}
@@ -128,7 +128,7 @@ void ProblemReporter::slotActivePartChanged( KParts::Part* part )
m_editor = dynamic_cast<KTextEditor::EditInterface*>( part );
if( m_editor )
- connect( m_document, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged()) );
+ connect( m_document, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotTextChanged()) );
m_markIface = dynamic_cast<KTextEditor::MarkInterface*>( part );
@@ -262,8 +262,8 @@ void ProblemReporter::configWidget( KDialogBase* dlg )
Q_UNUSED(dlg);
/* TQVBox *vbox = dlg->addVBoxPage(i18n("Pascal Parsing"));
ConfigureProblemReporter* w = new ConfigureProblemReporter( vbox );
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
- connect(dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(configure()));*/
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), this, TQ_SLOT(configure()));*/
}
void ProblemReporter::slotPartAdded( KParts::Part* part )