Adapt to new KWarning/kFatal/kDebug api