config.h
来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 74 行
H
74 行
/*************************************************************************** config.h - The definition for the configuration ------------------- begin : 2003 authors : Vincent Porchet emails : vincnet.porchet@epfl.ch ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef CONFIG_H__#define CONFIG_H__#include <qobject.h>#include <qwidget.h>#include <qstring.h>#include <qfile.h>#include "defines.h"#include "block.h"#include "fifocmd.h"#include "global.h"#include "parameters.h"/** * @short Holds the definition of a config */class Config : public QObject { Q_OBJECTpublic: Config( FifoCmd *c, int m_i, int i ); int getConfigType() { return type; }; QString getValue() { return value; }; QString getName() { return name; }; unsigned long getFlags() { return flags; }; bool isShown(){ return VALUE_SHOW( flags ); }public slots: void slotValueChanged(int v); void slotTextChanged(const QString &v);private: FifoCmd *radio; QString name; int module_id; int id; int type; unsigned long flags; QString value;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?