Results 1 to 5 of 5

Thread: QXmppTransferJob

  1. #1
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default QXmppTransferJob

    Hi when i actÃ*vate QXmppTransferJob in the main of my program all time the firewall intercept this connection. Some way to include some message or to do alone for avoiding this alert.. I am doing one chat in xmpp servr and client. My doubt is for example in this function:
    Qt Code:
    1. void MainWindow::llegadaDatosArchivo(QXmppTransferJob* transferencia){
    2. /** Función invocada para recibir un archivo enviado por el cliente **/
    3. archivoRecibido = new QFile(directorio.path() + "/" + archivo);
    4. archivoRecibido->open(QFile::WriteOnly);
    5. transferencia->accept(archivoRecibido);
    6.  
    7. }
    To copy to clipboard, switch view to plain text mode 
    I can include in the function some type like QXmppMessage &mensaje for waiting the client send me the message and then... start trasfering files. Something like that.
    Thx in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QXmppTransferJob

    Is there an actual question in there?

    Cheers,
    _

  3. #3
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default Re: QXmppTransferJob

    sorry again the question is bad wrote i will think more about and then post the real issue sorry again!
    Last edited by davinciomare; 8th October 2016 at 14:58.

  4. #4
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default Re: QXmppTransferJob

    sorry wrong post
    Last edited by davinciomare; 8th October 2016 at 18:08.

  5. #5
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: QXmppTransferJob

    Quote Originally Posted by davinciomare View Post
    sorry wrong post
    This seems suspiciously the same as your other post that I have already responded to...
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.