Yes QMessageBox is ported from KMessageBox, 
i got is solved :)
One can also refer http://qt-project.org/doc/qt-4.8/qmessagebox.html for more details.
Thanks.

On Tue, Jan 27, 2015 at 9:33 PM, Thomas Lübking <thomas.luebking@gmail.com> wrote:
On Dienstag, 27. Januar 2015 16:53:01 CEST, Christoph Feck wrote:
On Tuesday 27 January 2015 16:46:13 Thomas Lübking wrote:
On Dienstag, 27. Januar 2015 16:42:49 CEST, anu mittal wrote:
It then says error: no matching function for call to
‘QMessageBox::warning(int, QString)’

QMessageBox::warning(0,i18n("Cannot save to the specified file."));

Given the error message

BLAST! (Sorry, I lost attention)

It requires two strings (title and message)


Regards,
Thomas



--
Regards,
Anu.