#include <stdlib.h>
#include <string.h>
#include "querydata.h"
Include dependency graph for querydata.c:
Go to the source code of this file.
Functions | |
QueryData * | querydata_free (QueryData *qd) |
Free a QueryData structure. | |
char * | querydata_get_filename (QueryData *qd) |
Get the filename. | |
int | querydata_is_changed (QueryData *qd) |
Check if the query has been changed since the last save. | |
void | querydata_set_unchanged (QueryData *qd) |
Mark a query as unchanged. | |
void | querydata_set_filename (QueryData *qd, char *fn) |
Allocate a new QueryData structure. | |
QueryData * | querydata_new () |
Allocate a new QueryData structure. | |
void | querydata_set_changed (QueryData *qd, int c) |
Set the value of the 'changed' flag. |
Definition in file querydata.c.
|
Free a QueryData structure.
Definition at line 32 of file querydata.c. References _queryData::filename. |
|
Get the filename.
Definition at line 43 of file querydata.c. References _queryData::filename. Referenced by query_save_dialog_create(). |
|
Check if the query has been changed since the last save.
Definition at line 53 of file querydata.c. References _queryData::changed. |
|
Allocate a new QueryData structure.
Definition at line 86 of file querydata.c. Referenced by query_add(), and query_get_querydata(). |
|
Set the value of the 'changed' flag.
Definition at line 93 of file querydata.c. References _queryData::changed. |
|
Allocate a new QueryData structure.
Definition at line 71 of file querydata.c. References _queryData::filename. Referenced by gui_load_query_from_file(), on_queryImportDlgOkBtn_clicked(), and on_querySaveDlgOkBtn_clicked(). |
|
Mark a query as unchanged.
Definition at line 62 of file querydata.c. References _queryData::changed. Referenced by gui_load_query_from_file(), gui_set_query_text(), and on_queryImportDlgOkBtn_clicked(). |