📄 evasyssettingwindow.h
字号:
/*************************************************************************** * Copyright (C) 2005 by yunfan * * yunfan_zg@163.com * * * * 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. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ /* revised by tlmcasper 2005 tlmcasper@163.com*/#ifndef EVASYSSETTINGWINDOW_H#define EVASYSSETTINGWINDOW_H#include "evasyssettinguibase.h"#include <kkeybutton.h>#include <list>class EvaImageResource;class EvaUserSetting;class QIconViewItem;class QCloseEvent;class EvaSysSettingWindow : public EvaSysSettingUIBase{ Q_OBJECTpublic: EvaSysSettingWindow(QStringList &user, EvaImageResource *res, EvaUserSetting *seting, QWidget *parent = 0); ~EvaSysSettingWindow();signals: void settingChanged(); void requestUpdate(const unsigned int); void requestQQShow(const unsigned int); void requestUpdateSignature(const QString contents); void requestDeleteSignature(); void requestModify(QStringList, QString, QString); // qq id, all details, old password, new password void requestMyAuthQuestionSetting(); void requestMyUpdateQuestion( const QString &quest, const QString &answer);public slots: void slotDetailsUpdated(QStringList); void slotSignatureReply(const bool); void slotUpdateResult(bool, bool isSignature = false); void slotBuddyQQShowReady(const unsigned int id); void slotReceivedMyAuthSettings(const unsigned char auth, const QString& question, const QString &answer); void slotUpdateAuthSettingResult(const unsigned char auth, const unsigned char reply);private: void saveSetting(); void loadSetting(const bool isLoadDefault = false); void setupFaces(); bool UpdateData(bool); const QString getClientKeyString(); EvaUserSetting *userSetting; std::list<QString> autoList; std::list<QString> quickList; static EvaImageResource *faces; QStringList details; int selectedFaceIndex; bool isSignatureChanged; bool isUserInfoChanged; bool isSysSettingChanged; bool m_IsAuthQuestionChanged; private slots: void slotPbFaceDefaultClicked(); void slotPbApplyClicked(); void slotPbOKClicked(); void slotFaceSizeChanged(int value); void slotCapturedShortcut(const KShortcut &key); void slotPbThemeClicked(); void slotPbSoundClicked(); void slotCbbAutoNoActivated(int); void slotPbAutoNewClicked(); void slotPbAutoDeleteClicked(); void slotTeAutoTextChanged(); void slotCbbQuickNoActivated(int); void slotPbQuickNewClicked(); void slotPbQuickDeleteClicked(); void slotTeQuickTextChanged(); void slotSettingListItemClicked(QListViewItem* item); void slotPbFaceClicked(); void FaceChoose( QIconViewItem * item ); void slotFirstUpdate(); void slotSignatureChanged(); void slotShopClicked(); void slotAlbumClicked(); void slotHomeClicked(); void slotUpdateQQShow(); void slotLinkClicked( const QString & url); void slotChangePwdClicked(); /////////for test only//////////// void slotUserInfoChanged(); void slotSysSettingChanged(); void closeEvent(QCloseEvent *e); void slotAuthChanged(); void slotChangePasswordClicked(); void slotProtectPasswordClicked();};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -