mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kio: require all KIO::Connection::send() arguments
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d006f066ee
commit
0fece01714
1 changed files with 3 additions and 3 deletions
|
@ -86,8 +86,8 @@ namespace KIO {
|
|||
* Creates a new connection.
|
||||
* @see connectToRemote, listenForRemote
|
||||
*/
|
||||
explicit Connection(QObject *parent = 0);
|
||||
virtual ~Connection();
|
||||
explicit Connection(QObject *parent = nullptr);
|
||||
~Connection();
|
||||
|
||||
/**
|
||||
* Connects to the remote address.
|
||||
|
@ -107,7 +107,7 @@ namespace KIO {
|
|||
* @param arr the bytes to send
|
||||
* @return true if successful, false otherwise
|
||||
*/
|
||||
bool send(int cmd, const QByteArray &arr = QByteArray());
|
||||
bool send(int cmd, const QByteArray &arr);
|
||||
|
||||
/**
|
||||
* Sends the given command immediately.
|
||||
|
|
Loading…
Add table
Reference in a new issue