• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kget

  • sources
  • kde-4.12
  • kdenetwork
  • kget
  • plasma
  • applet
  • barapplet
kgetbarapplet_p.h
Go to the documentation of this file.
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  * Copyright (C) 2007 by Javier Goday <jgoday@gmail.com> *
9  * Copyright (C) 2009 by Matthias Fuchs <mat69@gmx.net> *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this program; if not, write to the *
18  * Free Software Foundation, Inc., *
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
20  ***************************************************************************/
21 #ifndef KGETBARAPPLET_P_H
22 #define KGETBARAPPLET_P_H
23 
24 #include <QGraphicsWidget>
25 #include <QHash>
26 
27 namespace Plasma
28 {
29  class ScrollWidget;
30 }
31 
32 class QGraphicsProxyWidget;
33 class QProgressBar;
34 
35 class KGetBarApplet::Private : public QGraphicsWidget
36 {
37  Q_OBJECT
38 
39  public:
40  Private(QGraphicsWidget *parent = 0);
41  ~Private();
42 
43  public slots:
44  void addTransfers(const QList<OrgKdeKgetTransferInterface*> &transfers);
45  void removeTransfers(const QList<OrgKdeKgetTransferInterface*> &transfers);
46 
47  private slots:
48  void slotUpdateTransfer(int transferChange);
49 
50  private:
51  struct Item
52  {
53  QGraphicsProxyWidget *proxy;
54  QProgressBar *progressBar;
55  };
56 
57  Plasma::ScrollWidget *m_scrollWidget;
58  QGraphicsWidget *m_containerWidget;
59  QGraphicsLinearLayout *m_containerLayout;
60  QHash<OrgKdeKgetTransferInterface*, Item*> m_items;
61 };
62 
63 #endif
KGetBarApplet::Private::addTransfers
void addTransfers(const QList< OrgKdeKgetTransferInterface * > &transfers)
Definition: kgetbarapplet.cpp:55
KGetBarApplet::Private
Definition: kgetbarapplet_p.h:35
KGetBarApplet::Private::Private
Private(QGraphicsWidget *parent=0)
Definition: kgetbarapplet.cpp:36
KGetBarApplet::Private::~Private
~Private()
Definition: kgetbarapplet.cpp:51
KGetBarApplet::Private::removeTransfers
void removeTransfers(const QList< OrgKdeKgetTransferInterface * > &transfers)
Definition: kgetbarapplet.cpp:85
QGraphicsProxyWidget
QGraphicsWidget
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal