[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Using a system-default File Dialog in QML
From:       "=?utf-8?q?Micha=C5=82_=27rysiek=27?= =?utf-8?q?_Wo=C5=BAniak?=" <rysiek () fwioo ! p
Date:       2013-04-14 12:02:33
Message-ID: 201304141402.36236.rysiek () fwioo ! pl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Dnia sobota, 13 kwietnia 2013 o 19:56:25 Michał 'rysiek' Woźniak 
napisał(a):
> Hi again,
> 
> I managed to load and show the dialog, now am having problems
> handling the signals. What is the correct way of handling them? I
> tried:
> (...)

Okay, got it. Sorry for bothering you guys. The magic incantation that 
got the job done was:

fd = new SaveFileDialog()
      
function fdAccepted(fdlg) {
  console.log('exportTaskConfig(): file dialog accepted')
  console.log('+- file selected: ' + fdlg.file)
}

fd.accepted.connect(fdAccepted)

-- 
Pozdrawiam
Michał "rysiek" Woźniak

Fundacja Wolnego i Otwartego Oprogramowania

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic