KVIrc 5.2.6
Developer APIs
StatusBarApplet.h
Go to the documentation of this file.
1#ifndef _TC_STATUSBARAPPLET_H_
2#define _TC_STATUSBARAPPLET_H_
3//=============================================================================
4//
5// StatusBar for Torrent client.
6//
7// File : StatusBarApplet.h
8// Creation date : Fri Jan 1 15:42:25 2007 GMT by Alexander Stillich
9//
10// This file is part of the KVIrc IRC client distribution
11// Copyright (C) 2007-2008 Alexander Stillich (torque at pltn dot org)
12//
13// This program is FREE software. You can redistribute it and/or
14// modify it under the terms of the GNU General Public License
15// as published by the Free Software Foundation; either version 2
16// of the License, or (at your option) any later version.
17//
18// This program is distributed in the HOPE that it will be USEFUL,
19// but WITHOUT ANY WARRANTY; without even the implied warranty of
20// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21// See the GNU General Public License for more details.
22//
23// You should have received a copy of the GNU General Public License
24// along with this program. If not, write to the Free Software Foundation,
25// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26//
27//=============================================================================
28
29#include "KviStatusBar.h"
30#include "KviStatusBarApplet.h"
31
32// TODO: check if it gets destroyed
33// TODO: proper icon!
35{
36 Q_OBJECT
37public:
39 ~StatusBarApplet() override;
40 static void selfRegister(KviStatusBar * bar);
41private slots:
42 void update();
43};
44
45#endif // _TC_STATUSBARAPPLET_H_
KVIrc Status Bar management.
Definition KviStatusBarApplet.h:53
Definition KviStatusBarApplet.h:87
Status Bar class.
Definition KviStatusBar.h:116
Definition StatusBarApplet.h:35
void update()
Definition StatusBarApplet.cpp:79
StatusBarApplet(KviStatusBar *parent, KviStatusBarAppletDescriptor *desc)
Definition StatusBarApplet.cpp:35
~StatusBarApplet() override
static void selfRegister(KviStatusBar *bar)
Definition StatusBarApplet.cpp:57