Replace Q_SIGNALS and Q_SLOTS

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/254/head
Michele Calgaro 10 months ago
parent 9c8be949b4
commit 7f1af8e826
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -198,9 +198,7 @@
<item> TQ_SCRIPTABLE </item> <item> TQ_SCRIPTABLE </item>
<item> TQ_SETS </item> <item> TQ_SETS </item>
<item> TQ_SIGNAL </item> <item> TQ_SIGNAL </item>
<item> TQ_SIGNALS </item>
<item> TQ_SLOT </item> <item> TQ_SLOT </item>
<item> TQ_SLOTS </item>
<item> TQ_UNUSED </item> <item> TQ_UNUSED </item>
<item> connect </item> <item> connect </item>
<item> disconnect </item> <item> disconnect </item>

@ -121,9 +121,7 @@
<item> TQ_SCRIPTABLE </item> <item> TQ_SCRIPTABLE </item>
<item> TQ_SETS </item> <item> TQ_SETS </item>
<item> TQ_SIGNAL </item> <item> TQ_SIGNAL </item>
<item> TQ_SIGNALS </item>
<item> TQ_SLOT </item> <item> TQ_SLOT </item>
<item> TQ_SLOTS </item>
<item> TQ_UNUSED </item> <item> TQ_UNUSED </item>
<item> connect </item> <item> connect </item>
<item> disconnect </item> <item> disconnect </item>

@ -166,9 +166,7 @@
<item> TQ_SCRIPTABLE </item> <item> TQ_SCRIPTABLE </item>
<item> TQ_SETS </item> <item> TQ_SETS </item>
<item> TQ_SIGNAL </item> <item> TQ_SIGNAL </item>
<item> TQ_SIGNALS </item>
<item> TQ_SLOT </item> <item> TQ_SLOT </item>
<item> TQ_SLOTS </item>
<item> TQ_UNUSED </item> <item> TQ_UNUSED </item>
<item> connect </item> <item> connect </item>
<item> disconnect </item> <item> disconnect </item>

@ -479,8 +479,6 @@ void KateCSmartIndent::processLine (KateDocCursor &line)
textLine->stringAtPos (firstChar, "private") || textLine->stringAtPos (firstChar, "private") ||
textLine->stringAtPos (firstChar, "protected") || textLine->stringAtPos (firstChar, "protected") ||
textLine->stringAtPos (firstChar, "signals") || textLine->stringAtPos (firstChar, "signals") ||
textLine->stringAtPos (firstChar, "Q_SIGNALS") ||
textLine->stringAtPos (firstChar, "Q_SLOTS") ||
textLine->stringAtPos (firstChar, "slots")) textLine->stringAtPos (firstChar, "slots"))
{ {
indent = findOpeningBrace(line) + indentWidth; indent = findOpeningBrace(line) + indentWidth;
@ -859,12 +857,8 @@ uint KateCSmartIndent::calcIndent(KateDocCursor &begin, bool needContinue)
ch = textLine->getChar(specialIndent + 9); ch = textLine->getChar(specialIndent + 9);
else if (textLine->stringAtPos(specialIndent, "signals")) else if (textLine->stringAtPos(specialIndent, "signals"))
ch = textLine->getChar(specialIndent + 7); ch = textLine->getChar(specialIndent + 7);
else if (textLine->stringAtPos(specialIndent, "Q_SIGNALS"))
ch = textLine->getChar(specialIndent + 9);
else if (textLine->stringAtPos(specialIndent, "slots")) else if (textLine->stringAtPos(specialIndent, "slots"))
ch = textLine->getChar(specialIndent + 5); ch = textLine->getChar(specialIndent + 5);
else if (textLine->stringAtPos(specialIndent, "Q_SLOTS"))
ch = textLine->getChar(specialIndent + 7);
if (ch.isNull() || (!ch.isSpace() && ch != '(' && ch != ':')) if (ch.isNull() || (!ch.isSpace() && ch != '(' && ch != ':'))
continue; continue;

@ -120,12 +120,12 @@
<include location="global" impldecl="in declaration">ksqueezedtextlabel.h</include> <include location="global" impldecl="in declaration">ksqueezedtextlabel.h</include>
<include location="global" impldecl="in implementation">kactivelabel.h</include> <include location="global" impldecl="in implementation">kactivelabel.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot>init()</slot> <slot>init()</slot>
<slot>addError( const TQString &amp; error )</slot> <slot>addError( const TQString &amp; error )</slot>
<slot>setURL( const TQString &amp; url )</slot> <slot>setURL( const TQString &amp; url )</slot>
<slot>clear()</slot> <slot>clear()</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> <layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI> </UI>

@ -140,12 +140,12 @@
<include location="global" impldecl="in declaration">kactivelabel.h</include> <include location="global" impldecl="in declaration">kactivelabel.h</include>
<include location="local" impldecl="in implementation">kbetterthankdialogbase.ui.h</include> <include location="local" impldecl="in implementation">kbetterthankdialogbase.ui.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot access="private">clicked()</slot> <slot access="private">clicked()</slot>
<slot>setLabel( const TQString &amp; label )</slot> <slot>setLabel( const TQString &amp; label )</slot>
<slot access="private">init()</slot> <slot access="private">init()</slot>
<slot access="protected">accept()</slot> <slot access="protected">accept()</slot>
<slot access="protected">reject()</slot> <slot access="protected">reject()</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
</UI> </UI>

@ -534,12 +534,12 @@
<include location="global" impldecl="in implementation">tdelocale.h</include> <include location="global" impldecl="in implementation">tdelocale.h</include>
<include location="local" impldecl="in implementation">tdewalletwizard.ui.h</include> <include location="local" impldecl="in implementation">tdewalletwizard.ui.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot access="private">passwordPageUpdate()</slot> <slot access="private">passwordPageUpdate()</slot>
<slot access="private">init()</slot> <slot access="private">init()</slot>
<slot>setAdvanced()</slot> <slot>setAdvanced()</slot>
<slot>setBasic()</slot> <slot>setBasic()</slot>
<slot access="private">destroy()</slot> <slot access="private">destroy()</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
</UI> </UI>

Loading…
Cancel
Save