Replace Q_SIGNALS and Q_SLOTS

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/57/head
Michele Calgaro 10 months ago
parent f52f91d7ba
commit 80d93b2c93
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -688,9 +688,9 @@
<include location="global" impldecl="in implementation">klineedit.h</include> <include location="global" impldecl="in implementation">klineedit.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>slotUpdateMoodFrame()</slot> <slot>slotUpdateMoodFrame()</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function access="private" specifier="non virtual">init()</function> <function access="private" specifier="non virtual">init()</function>
</functions> </functions>

@ -748,13 +748,13 @@
<include location="global" impldecl="in implementation">kcolorbutton.h</include> <include location="global" impldecl="in implementation">kcolorbutton.h</include>
<include location="global" impldecl="in implementation">kcombobox.h</include> <include location="global" impldecl="in implementation">kcombobox.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot>installPushButton_clicked()</slot> <slot>installPushButton_clicked()</slot>
<slot>retrievePushButton_clicked()</slot> <slot>retrievePushButton_clicked()</slot>
<slot>uninstallPushButton_clicked()</slot> <slot>uninstallPushButton_clicked()</slot>
<slot>styleComboBox_activated( const TQString &amp; s )</slot> <slot>styleComboBox_activated( const TQString &amp; s )</slot>
<slot>updateStyleComboBox()</slot> <slot>updateStyleComboBox()</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function access="private" specifier="non virtual">init()</function> <function access="private" specifier="non virtual">init()</function>
</functions> </functions>

@ -516,14 +516,14 @@
<variables> <variables>
<variable access="private">OSDPreviewWidget *m_pOSDPreview;</variable> <variable access="private">OSDPreviewWidget *m_pOSDPreview;</variable>
</variables> </variables>
<Q_SIGNALS> <signals>
<signal>settingsChanged()</signal> <signal>settingsChanged()</signal>
</Q_SIGNALS> </signals>
<Q_SLOTS> <slots>
<slot access="protected">slotPositionChanged()</slot> <slot access="protected">slotPositionChanged()</slot>
<slot access="protected">useCustomColorsToggled( bool on )</slot> <slot access="protected">useCustomColorsToggled( bool on )</slot>
<slot access="protected">useFakeTransparencyToggled( bool on )</slot> <slot access="protected">useFakeTransparencyToggled( bool on )</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function access="private" specifier="non virtual">init()</function> <function access="private" specifier="non virtual">init()</function>
<function access="protected">hideEvent( TQHideEvent * )</function> <function access="protected">hideEvent( TQHideEvent * )</function>

@ -293,8 +293,8 @@
<include location="global" impldecl="in implementation">kactivelabel.h</include> <include location="global" impldecl="in implementation">kactivelabel.h</include>
<include location="global" impldecl="in implementation">klineedit.h</include> <include location="global" impldecl="in implementation">klineedit.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot access="protected">updateServices( const TQString &amp; s )</slot> <slot access="protected">updateServices( const TQString &amp; s )</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
</UI> </UI>

@ -452,9 +452,9 @@
<include location="global" impldecl="in implementation">klineedit.h</include> <include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kcombobox.h</include> <include location="global" impldecl="in implementation">kcombobox.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot>databaseEngine_activated( int )</slot> <slot>databaseEngine_activated( int )</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function access="private">init()</function> <function access="private">init()</function>
</functions> </functions>

@ -125,9 +125,9 @@
<slot>slotShouldDelete(bool)</slot> <slot>slotShouldDelete(bool)</slot>
</connection> </connection>
</connections> </connections>
<Q_SLOTS> <slots>
<slot access="protected">slotShouldDelete(bool)</slot> <slot access="protected">slotShouldDelete(bool)</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<includes> <includes>
<include location="global" impldecl="in implementation">tdelistbox.h</include> <include location="global" impldecl="in implementation">tdelistbox.h</include>

@ -280,10 +280,10 @@
<variable access="public">enum Interface { XMMS, Compact };</variable> <variable access="public">enum Interface { XMMS, Compact };</variable>
<variable access="private">CollectionSetup* m_folderSetup;</variable> <variable access="private">CollectionSetup* m_folderSetup;</variable>
</variables> </variables>
<Q_SLOTS> <slots>
<slot access="private" specifier="non virtual">invokeHandbook()</slot> <slot access="private" specifier="non virtual">invokeHandbook()</slot>
<slot>openLink( const TQString &amp; s )</slot> <slot>openLink( const TQString &amp; s )</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function access="private" specifier="non virtual">init()</function> <function access="private" specifier="non virtual">init()</function>
<function access="protected">showPage( TQWidget * w )</function> <function access="protected">showPage( TQWidget * w )</function>

@ -108,9 +108,9 @@
<slot>downloadButtonClicked()</slot> <slot>downloadButtonClicked()</slot>
</connection> </connection>
</connections> </connections>
<Q_SLOTS> <slots>
<slot access="protected">downloadButtonClicked()</slot> <slot access="protected">downloadButtonClicked()</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<includes> <includes>
<include location="global" impldecl="in implementation">kurlrequester.h</include> <include location="global" impldecl="in implementation">kurlrequester.h</include>

@ -698,9 +698,9 @@
<tabstop>purchaseButton</tabstop> <tabstop>purchaseButton</tabstop>
<tabstop>cancelButton</tabstop> <tabstop>cancelButton</tabstop>
</tabstops> </tabstops>
<Q_SLOTS> <slots>
<slot>purchase()</slot> <slot>purchase()</slot>
<slot>cancel()</slot> <slot>cancel()</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
</UI> </UI>

@ -98,10 +98,10 @@
<slot>selectionChanged()</slot> <slot>selectionChanged()</slot>
</connection> </connection>
</connections> </connections>
<Q_SLOTS> <slots>
<slot access="protected">redownload()</slot> <slot access="protected">redownload()</slot>
<slot access="protected">selectionChanged()</slot> <slot access="protected">selectionChanged()</slot>
</Q_SLOTS> </slots>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<includes> <includes>
<include location="global" impldecl="in implementation">tdelistview.h</include> <include location="global" impldecl="in implementation">tdelistview.h</include>

@ -27,7 +27,7 @@ require 'rubygems'
# people to be able to grab this plugin if they want and use it, because it's snazzy. # people to be able to grab this plugin if they want and use it, because it's snazzy.
# #
# First thing you do is create a gem of your project and make sure that it depends # First thing you do is create a gem of your project and make sure that it depends
# on "mongrel" AND "gem_plugin". This Q_SIGNALS to the GemPlugin system that this is # on "mongrel" AND "gem_plugin". This signals to the GemPlugin system that this is
# a plugin for mongrel. # a plugin for mongrel.
# #
# Next you put this code into a file like lib/init.rb (can be anything really): # Next you put this code into a file like lib/init.rb (can be anything really):

@ -267,7 +267,7 @@ module Mongrel
# any errors means we should delete the file, including if the file is dumped # any errors means we should delete the file, including if the file is dumped
@socket.close rescue Object @socket.close rescue Object
@body.delete if @body.class == Tempfile @body.delete if @body.class == Tempfile
@body = nil # Q_SIGNALS that there was a problem @body = nil # signals that there was a problem
end end
end end
@ -608,7 +608,7 @@ module Mongrel
request = HttpRequest.new(params, client, notifiers) request = HttpRequest.new(params, client, notifiers)
# in the case of large file uploads the user could close the socket, so skip those requests # in the case of large file uploads the user could close the socket, so skip those requests
break if request.body == nil # nil Q_SIGNALS from HttpRequest::initialize that the request was aborted break if request.body == nil # nil signals from HttpRequest::initialize that the request was aborted
# request is good so far, continue processing the response # request is good so far, continue processing the response
response = HttpResponse.new(client) response = HttpResponse.new(client)

@ -438,13 +438,13 @@
<variable access="private">MetaBundle *m_previewBundle;</variable> <variable access="private">MetaBundle *m_previewBundle;</variable>
<variable access="private">GenericMediaDevice *m_device;</variable> <variable access="private">GenericMediaDevice *m_device;</variable>
</variables> </variables>
<Q_SLOTS> <slots>
<slot>addSupportedButtonClicked( int id )</slot> <slot>addSupportedButtonClicked( int id )</slot>
<slot specifier="non virtual">removeSupportedButtonClicked()</slot> <slot specifier="non virtual">removeSupportedButtonClicked()</slot>
<slot specifier="non virtual">supportedListBoxDoubleClicked( TQListBoxItem * item )</slot> <slot specifier="non virtual">supportedListBoxDoubleClicked( TQListBoxItem * item )</slot>
<slot>updatePreviewLabel()</slot> <slot>updatePreviewLabel()</slot>
<slot>updatePreviewLabel( const TQString &amp; format )</slot> <slot>updatePreviewLabel( const TQString &amp; format )</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function access="private" specifier="non virtual">updateConfigDialogLists( const TQStringList &amp; supportedFileTypes )</function> <function access="private" specifier="non virtual">updateConfigDialogLists( const TQStringList &amp; supportedFileTypes )</function>
<function access="private" specifier="non virtual" returnType="TQString">buildDestination( const TQString &amp; format, const MetaBundle &amp; mb )</function> <function access="private" specifier="non virtual" returnType="TQString">buildDestination( const TQString &amp; format, const MetaBundle &amp; mb )</function>

@ -571,15 +571,15 @@
<variable>MetaBundle previewBundle;</variable> <variable>MetaBundle previewBundle;</variable>
<variable>bool detailed;</variable> <variable>bool detailed;</variable>
</variables> </variables>
<Q_SIGNALS> <signals>
<signal>updatePreview( const TQString &amp; )</signal> <signal>updatePreview( const TQString &amp; )</signal>
</Q_SIGNALS> </signals>
<Q_SLOTS> <slots>
<slot>preview( const TQString &amp; format )</slot> <slot>preview( const TQString &amp; format )</slot>
<slot>update( int dummy )</slot> <slot>update( int dummy )</slot>
<slot>update( const TQString &amp; dummy )</slot> <slot>update( const TQString &amp; dummy )</slot>
<slot>slotDetails()</slot> <slot>slotDetails()</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function returnType="TQString">buildDestination( const TQString &amp; format, const MetaBundle &amp; mb )</function> <function returnType="TQString">buildDestination( const TQString &amp; format, const MetaBundle &amp; mb )</function>
<function returnType="TQString">buildFormatTip()</function> <function returnType="TQString">buildFormatTip()</function>

@ -27,7 +27,7 @@ class DatabaseScriptChooser < TQt::Dialog
attr_reader :m_saveDir attr_reader :m_saveDir
attr_reader :m_okayButton attr_reader :m_okayButton
Q_SLOTS 'optionChanged(int)', 'textChanged(const TQString &)', 'accept()', 'cancel()' slots 'optionChanged(int)', 'textChanged(const TQString &)', 'accept()', 'cancel()'
def initialize(parent = nil, name = nil, modal = false, fl = 0) def initialize(parent = nil, name = nil, modal = false, fl = 0)
super super

@ -200,9 +200,9 @@
<include location="local" impldecl="in implementation">eqdialog.ui.h</include> <include location="local" impldecl="in implementation">eqdialog.ui.h</include>
<include location="global" impldecl="in implementation">equalizercanvasview.h</include> <include location="global" impldecl="in implementation">equalizercanvasview.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot>eqGroupBox_toggled( bool eqEnabled )</slot> <slot>eqGroupBox_toggled( bool eqEnabled )</slot>
</Q_SLOTS> </slots>
<functions> <functions>
<function specifier="non virtual">init()</function> <function specifier="non virtual">init()</function>
</functions> </functions>

@ -19,7 +19,7 @@
############################################################################ ############################################################################
class QtIoListener < TQt::Object class QtIoListener < TQt::Object
Q_SLOTS 'dataRecieved()' slots 'dataRecieved()'
def initialize(app, iostream, lineHandler) def initialize(app, iostream, lineHandler)
super(app) super(app)
@lineHandler = lineHandler @lineHandler = lineHandler

@ -193,7 +193,7 @@ Note that the order in which the schemes appear in the list is relevant, since t
<include location="global" impldecl="in implementation">tdelistview.h</include> <include location="global" impldecl="in implementation">tdelistview.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include> <include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes> </includes>
<Q_SLOTS> <slots>
<slot specifier="non virtual">slotCurrentChanged( TQListViewItem * item )</slot> <slot specifier="non virtual">slotCurrentChanged( TQListViewItem * item )</slot>
<slot>accept()</slot> <slot>accept()</slot>
<slot>reject()</slot> <slot>reject()</slot>
@ -203,7 +203,7 @@ Note that the order in which the schemes appear in the list is relevant, since t
<slot specifier="non virtual">slotAddClicked()</slot> <slot specifier="non virtual">slotAddClicked()</slot>
<slot specifier="non virtual">slotModifyClicked()</slot> <slot specifier="non virtual">slotModifyClicked()</slot>
<slot specifier="non virtual">slotRemoveClicked()</slot> <slot specifier="non virtual">slotRemoveClicked()</slot>
</Q_SLOTS> </slots>
<forwards> <forwards>
<forward>class TQListViewItem;</forward> <forward>class TQListViewItem;</forward>
</forwards> </forwards>

Loading…
Cancel
Save