4 * Copyright (C) 2009 Red Hat Inc.
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
18 typedef struct QErrorStringTable {
20 const char *error_fmt;
23 typedef struct QError {
29 const QErrorStringTable *entry;
32 QError *qerror_new(void);
33 QError *qerror_from_info(const char *file, int linenr, const char *func,
34 const char *fmt, va_list *va);
35 void qerror_print(const QError *qerror);
36 QError *qobject_to_qerror(const QObject *obj);