⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yawp.h

📁 KDE4.1 weather plasmoid
💻 H
字号:
//// C++ Implementation: yawp//// Description:////// Author: Ruan <ruans@kr8.co.za>, (C) 2008//// Copyright: Do what you want, whenever you want.////#ifndef YAWP_H#define YAWP_H#include <Plasma/Applet>#include <Plasma/Svg>class YaWPConfigDialog;class YaWPDay;class YaWPWeatherServiceRunner;class QTimer;class YaWPWeatherService;//-----------------------------------------------------------------------------/** Main plasmoid class.@author Ruan <ruans@kr8.co.za>*/class YaWP : public Plasma::Applet{    Q_OBJECT    public:                YaWP(QObject *parent, const QVariantList &args);                virtual ~YaWP();                void paintInterface(QPainter *painter, const QStyleOptionGraphicsItem *option, const QRect& contentsRect);                void init();                void loadConfig();                void saveConfig();                void showConfigurationInterface();                void constraintsEvent(Plasma::Constraints constraints);            protected slots:        void timeout();                void settingsChanged();                void updateMessage(QString mess);                void updateInfo(QObject *, int);            private:        Plasma::Svg         m_svg;        YaWPConfigDialog    *m_cdiag;        QFont               m_font;        QTimer              *m_timer;        QString             m_message;        int                 m_interval;                QString             m_theme;        QString             m_city;        QString             m_country;        QString             m_service;        int                 m_units;                QVector<YaWPDay>    m_days;        YaWPWeatherService * m_wservice;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -