代码拉取完成,页面将自动刷新
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QSystemTrayIcon>
#include <windows.h>
#ifdef Q_OS_WIN
#pragma comment(lib, "user32.lib")
#include <qt_windows.h>
#endif
#define MAX_KEY_LENGTH 255
#define MAX_VALUE_NAME 16383
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
void setSystemMenu();
public slots:
void systemExit(bool b);
void init();
void autoRun(bool run); //不好用
void autoRun2(bool run);
void QueryKey(HKEY hKey); //遍历注册表
private:
Ui::Widget *ui;
QSystemTrayIcon *trayIcon;
};
#endif // WIDGET_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。