[Kde-bindings] [Bug 126928] New: Qtruby QServerSocket not working
Maël Clérambault
maelclerambault at yahoo.fr
Sun May 7 21:13:51 UTC 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=126928
Summary: Qtruby QServerSocket not working
Product: bindings
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kde-bindings kde org
ReportedBy: maelclerambault yahoo fr
Version: (using KDE KDE 3.5.2)
Installed from: Gentoo Packages
OS: Linux
sample script:
--------------
require 'Qt'
class MyServer < Qt::ServerSocket
def newConnection(socket)
puts 'connection'
end
end
Qt.debug_level = Qt::DebugLevel::High
s = MyServer.new(9000)
a = Qt::Application.new(ARGV)
a.exec
output:
--------
classname == QServerSocket
:: method == QServerSocket
-> methodIds == [9115]
candidate list:
QServerSocket* QServerSocket::QServerSocket(Q_UINT16) (9115)
matching => 9115
Q_UINT16 (i)
match => 9115 score: -99
No matching constructor found, possibles:
QServerSocket* QServerSocket::QServerSocket(Q_UINT16, int)
QServerSocket* QServerSocket::QServerSocket(const QHostAddress&, Q_UINT16, int, QObject*, const char*)
QServerSocket* QServerSocket::QServerSocket(const QHostAddress&, Q_UINT16, int, QObject*)
QServerSocket* QServerSocket::QServerSocket(Q_UINT16, int, QObject*, const char*)
QServerSocket* QServerSocket::QServerSocket(const QHostAddress&, Q_UINT16)
QServerSocket* QServerSocket::QServerSocket(QObject*, const char*)
QServerSocket* QServerSocket::QServerSocket(QObject*)
QServerSocket* QServerSocket::QServerSocket(Q_UINT16)
QServerSocket* QServerSocket::QServerSocket()
QServerSocket* QServerSocket::QServerSocket(Q_UINT16, int, QObject*)
QServerSocket* QServerSocket::QServerSocket(const QHostAddress&, Q_UINT16, int)
setCurrentMethod()
/usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:691:in `initialize': unresolved constructor call MyServer (ArgumentError)
from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:691:in `try_initialize'
from /usr/lib/ruby/site_ruby/1.8/Qt/qtruby.rb:690:in `try_initialize'
from qserversocket.rb:10
More information about the Kde-bindings
mailing list