[Kde-pim] Akonadi: sane behaviour when proper configuration of mysql is missing
Jarosław Staniek
js at iidea.pl
Thu Dec 6 22:24:48 GMT 2007
Is it good idea to add meaningful return values in place of things like
[1] and [2]?
I would introduce status method and use it in main().
[1]
if ( globalConfig.isEmpty() )
qFatal("Where is my MySQL config file??");
[2]
if ( !listen( QHostAddress::LocalHost, port ) )
qFatal("Unable to listen on port %d", port);
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list