summaryrefslogtreecommitdiffstats
path: root/tqt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 11:54:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 11:54:56 +0900
commitad963f6e626458b1f1da4e3ec6204643d2d6909b (patch)
treed3eefdba670c68a7c23e9d2bb2b14b0b1f5e2093 /tqt
parente867c97d483fa51344f1a3dda1d20cc499224428 (diff)
downloadtqscintilla-ad963f6e626458b1f1da4e3ec6204643d2d6909b.tar.gz
tqscintilla-ad963f6e626458b1f1da4e3ec6204643d2d6909b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tqt')
-rw-r--r--tqt/SciListBox.cpp8
-rw-r--r--tqt/ScintillaTQt.cpp4
-rw-r--r--tqt/tqextscintilla.cpp62
-rw-r--r--tqt/tqextscintillabase.cpp6
-rw-r--r--tqt/tqextscintillamacro.cpp4
5 files changed, 42 insertions, 42 deletions
diff --git a/tqt/SciListBox.cpp b/tqt/SciListBox.cpp
index 30699e0..f1c0e82 100644
--- a/tqt/SciListBox.cpp
+++ b/tqt/SciListBox.cpp
@@ -308,11 +308,11 @@ SciListBox::SciListBox(TQWidget *parent,ListBoxX *lbx_)
setFrameShadow(Plain);
setHScrollBarMode(AlwaysOff);
- connect(this,TQT_SIGNAL(doubleClicked(TQListBoxItem *)),
- TQT_SLOT(handleDoubleClick(TQListBoxItem *)));
+ connect(this,TQ_SIGNAL(doubleClicked(TQListBoxItem *)),
+ TQ_SLOT(handleDoubleClick(TQListBoxItem *)));
- connect(this,TQT_SIGNAL(highlighted(TQListBoxItem *)),
- TQT_SLOT(ensureCurrentVisible()));
+ connect(this,TQ_SIGNAL(highlighted(TQListBoxItem *)),
+ TQ_SLOT(ensureCurrentVisible()));
}
diff --git a/tqt/ScintillaTQt.cpp b/tqt/ScintillaTQt.cpp
index 249ca5f..15bbc20 100644
--- a/tqt/ScintillaTQt.cpp
+++ b/tqt/ScintillaTQt.cpp
@@ -93,7 +93,7 @@ ScintillaTQt::ScintillaTQt(TQextScintillaBase *tqsb_) :
// We aren't a TQObject so we use the API class to do TQObject related
// things for us.
- tqsb -> connect(&qtimer,TQT_SIGNAL(timeout()),TQT_SLOT(handleTimer()));
+ tqsb -> connect(&qtimer,TQ_SIGNAL(timeout()),TQ_SLOT(handleTimer()));
Initialise();
}
@@ -595,7 +595,7 @@ void ScintillaTQt::AddToPopUp(const char *label,int cmd,bool enabled)
{
TQString tr_label = tqApp -> translate("ContextMenu",label);
- pm -> insertItem(tr_label,tqsb,TQT_SLOT(handlePopUp(int)),0,cmd);
+ pm -> insertItem(tr_label,tqsb,TQ_SLOT(handlePopUp(int)),0,cmd);
pm -> setItemEnabled(cmd,enabled);
}
else
diff --git a/tqt/tqextscintilla.cpp b/tqt/tqextscintilla.cpp
index b0bba30..3660adc 100644
--- a/tqt/tqextscintilla.cpp
+++ b/tqt/tqextscintilla.cpp
@@ -57,27 +57,27 @@ TQextScintilla::TQextScintilla(TQWidget *parent,const char *name,WFlags f)
showSingle(FALSE), modified(FALSE), explicit_fillups(FALSE),
fillups_enabled(FALSE), saved_fillups("")
{
- connect(this,TQT_SIGNAL(SCN_MODIFYATTEMPTRO()),
- TQT_SIGNAL(modificationAttempted()));
-
- connect(this,TQT_SIGNAL(SCN_MODIFIED(int,int,const char *,int,int,int,int,int)),
- TQT_SLOT(handleModified(int,int,const char *,int,int,int,int,int)));
- connect(this,TQT_SIGNAL(SCN_CALLTIPCLICK(int)),
- TQT_SLOT(handleCallTipClick(int)));
- connect(this,TQT_SIGNAL(SCN_CHARADDED(int)),
- TQT_SLOT(handleCharAdded(int)));
- connect(this,TQT_SIGNAL(SCN_MARGINCLICK(int,int,int)),
- TQT_SLOT(handleMarginClick(int,int,int)));
- connect(this,TQT_SIGNAL(SCN_SAVEPOINTREACHED()),
- TQT_SLOT(handleSavePointReached()));
- connect(this,TQT_SIGNAL(SCN_SAVEPOINTLEFT()),
- TQT_SLOT(handleSavePointLeft()));
- connect(this,TQT_SIGNAL(SCN_UPDATEUI()),
- TQT_SLOT(handleUpdateUI()));
- connect(this,TQT_SIGNAL(TQSCN_SELCHANGED(bool)),
- TQT_SLOT(handleSelectionChanged(bool)));
- connect(this,TQT_SIGNAL(SCN_USERLISTSELECTION(const char *,int)),
- TQT_SLOT(handleUserListSelection(const char *,int)));
+ connect(this,TQ_SIGNAL(SCN_MODIFYATTEMPTRO()),
+ TQ_SIGNAL(modificationAttempted()));
+
+ connect(this,TQ_SIGNAL(SCN_MODIFIED(int,int,const char *,int,int,int,int,int)),
+ TQ_SLOT(handleModified(int,int,const char *,int,int,int,int,int)));
+ connect(this,TQ_SIGNAL(SCN_CALLTIPCLICK(int)),
+ TQ_SLOT(handleCallTipClick(int)));
+ connect(this,TQ_SIGNAL(SCN_CHARADDED(int)),
+ TQ_SLOT(handleCharAdded(int)));
+ connect(this,TQ_SIGNAL(SCN_MARGINCLICK(int,int,int)),
+ TQ_SLOT(handleMarginClick(int,int,int)));
+ connect(this,TQ_SIGNAL(SCN_SAVEPOINTREACHED()),
+ TQ_SLOT(handleSavePointReached()));
+ connect(this,TQ_SIGNAL(SCN_SAVEPOINTLEFT()),
+ TQ_SLOT(handleSavePointLeft()));
+ connect(this,TQ_SIGNAL(SCN_UPDATEUI()),
+ TQ_SLOT(handleUpdateUI()));
+ connect(this,TQ_SIGNAL(TQSCN_SELCHANGED(bool)),
+ TQ_SLOT(handleSelectionChanged(bool)));
+ connect(this,TQ_SIGNAL(SCN_USERLISTSELECTION(const char *,int)),
+ TQ_SLOT(handleUserListSelection(const char *,int)));
// Set the default font.
setFont(TQApplication::font());
@@ -2412,16 +2412,16 @@ void TQextScintilla::setLexer(TQextScintillaLexer *lexer)
SendScintilla(SCI_SETSTYLEBITS,bits);
- connect(lex,TQT_SIGNAL(colorChanged(const TQColor &,int)),
- TQT_SLOT(handleStyleColorChange(const TQColor &,int)));
- connect(lex,TQT_SIGNAL(eolFillChanged(bool,int)),
- TQT_SLOT(handleStyleEolFillChange(bool,int)));
- connect(lex,TQT_SIGNAL(fontChanged(const TQFont &,int)),
- TQT_SLOT(handleStyleFontChange(const TQFont &,int)));
- connect(lex,TQT_SIGNAL(paperChanged(const TQColor &,int)),
- TQT_SLOT(handleStylePaperChange(const TQColor &,int)));
- connect(lex,TQT_SIGNAL(propertyChanged(const char *,const char *)),
- TQT_SLOT(handlePropertyChange(const char *,const char *)));
+ connect(lex,TQ_SIGNAL(colorChanged(const TQColor &,int)),
+ TQ_SLOT(handleStyleColorChange(const TQColor &,int)));
+ connect(lex,TQ_SIGNAL(eolFillChanged(bool,int)),
+ TQ_SLOT(handleStyleEolFillChange(bool,int)));
+ connect(lex,TQ_SIGNAL(fontChanged(const TQFont &,int)),
+ TQ_SLOT(handleStyleFontChange(const TQFont &,int)));
+ connect(lex,TQ_SIGNAL(paperChanged(const TQColor &,int)),
+ TQ_SLOT(handleStylePaperChange(const TQColor &,int)));
+ connect(lex,TQ_SIGNAL(propertyChanged(const char *,const char *)),
+ TQ_SLOT(handlePropertyChange(const char *,const char *)));
SendScintilla(SCI_SETLEXERLANGUAGE,lex -> lexer());
diff --git a/tqt/tqextscintillabase.cpp b/tqt/tqextscintillabase.cpp
index 2a9368a..8d02345 100644
--- a/tqt/tqextscintillabase.cpp
+++ b/tqt/tqextscintillabase.cpp
@@ -86,11 +86,11 @@ TQextScintillaBase::TQextScintillaBase(TQWidget *parent,const char *name,WFlags
vsb = new TQScrollBar(TQt::Vertical,this);
layout -> addWidget(vsb,0,1);
- connect(vsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleVSb(int)));
+ connect(vsb,TQ_SIGNAL(valueChanged(int)),TQ_SLOT(handleVSb(int)));
hsb = new TQScrollBar(TQt::Horizontal,this);
layout -> addWidget(hsb,1,0);
- connect(hsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleHSb(int)));
+ connect(hsb,TQ_SIGNAL(valueChanged(int)),TQ_SLOT(handleHSb(int)));
txtarea -> installEventFilter(this);
@@ -111,7 +111,7 @@ TQextScintillaBase::TQextScintillaBase(TQWidget *parent,const char *name,WFlags
TQClipboard *cb = TQApplication::clipboard();
if (cb -> supportsSelection())
- connect(cb,TQT_SIGNAL(selectionChanged()),TQT_SLOT(handleSelection()));
+ connect(cb,TQ_SIGNAL(selectionChanged()),TQ_SLOT(handleSelection()));
// Add it to the pool.
poolList.append(this);
diff --git a/tqt/tqextscintillamacro.cpp b/tqt/tqextscintillamacro.cpp
index 8fc1a72..25ea696 100644
--- a/tqt/tqextscintillamacro.cpp
+++ b/tqt/tqextscintillamacro.cpp
@@ -220,8 +220,8 @@ void TQextScintillaMacro::startRecording()
macro.clear();
connect(tqsci,
- TQT_SIGNAL(SCN_MACRORECORD(unsigned int,unsigned long,long)),
- TQT_SLOT(record(unsigned int,unsigned long,long)));
+ TQ_SIGNAL(SCN_MACRORECORD(unsigned int,unsigned long,long)),
+ TQ_SLOT(record(unsigned int,unsigned long,long)));
tqsci -> SendScintilla(TQextScintillaBase::SCI_STARTRECORD);
}