改了几个bug,提交
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#include "buttonstruct.h"
|
||||
struct ConfigResponse;
|
||||
class ConfigRequest;
|
||||
struct Record2;
|
||||
class SoftwareRequest;
|
||||
typedef struct tagRecord{
|
||||
int id;
|
||||
@ -34,6 +35,7 @@ typedef struct tagRecord{
|
||||
struct Categrory
|
||||
{
|
||||
int id;
|
||||
int total;
|
||||
QString name;
|
||||
bool display;
|
||||
int sort;
|
||||
@ -50,9 +52,10 @@ public:
|
||||
bool get_software(QList<ButtonStruct>* buttons, ConfigResponse* config_response);
|
||||
bool update_app();
|
||||
bool get_buttons(QList<ButtonStruct> &buttons);
|
||||
bool get_category(QList<Categrory>& categrories, bool is_edit);
|
||||
bool get_category(QList<Categrory>& categrories, bool is_edit,bool all=false);
|
||||
bool set_category(QList<Categrory>& categrories);
|
||||
bool get_all_software(QList<Record> &softwares,int category);
|
||||
bool get_a_software(QString orig_name, Record2 *record);
|
||||
QSqlDatabase db;
|
||||
|
||||
~SQLiteHelper();
|
||||
|
Reference in New Issue
Block a user