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

kget

  • sources
  • kde-4.14
  • kdenetwork
  • kget
  • plasma
  • applet
  • panelbar
kgetpanelbar_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  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
19  ***************************************************************************/
20 #ifndef KGETPANELBAR_P_H
21 #define KGETPANELBAR_P_H
22 
23 #include <plasma/dialog.h>
24 #include <QList>
25 #include <QMap>
26 #include "transfer_interface.h"
27 
28 class QProgressBar;
29 class QGridLayout;
30 
31 class KGetPanelBar::Private : public Plasma::Dialog
32 {
33 Q_OBJECT
34 public:
35  Private(QWidget * parent = 0);
36  ~Private();
37 
38  QGridLayout *dialogLayout() {
39  return m_dialogLayout;
40  };
41 
42 public slots:
43  void transfersAdded(const QList<OrgKdeKgetTransferInterface*> &transfers);
44  void transfersRemoved(const QList<OrgKdeKgetTransferInterface*> &transfers);
45  void update();
46  void clear();
47 
48 signals:
49  void progressBarChanged(int value);
50 
51 private:
52  QProgressBar *m_bar;
53  QGridLayout *m_dialogLayout;
54  QWidget *m_widget;
55 
56  QMap<OrgKdeKgetTransferInterface*, QProgressBar*> m_transfers;
57 };
58 
59 #endif
QProgressBar
QWidget
KGetPanelBar::Private::clear
void clear()
Definition: kgetpanelbar.cpp:136
KGetPanelBar::Private::progressBarChanged
void progressBarChanged(int value)
QMap< OrgKdeKgetTransferInterface *, QProgressBar * >
QGridLayout
KGetPanelBar::Private::~Private
~Private()
Definition: kgetpanelbar.cpp:67
KGetPanelBar::Private::dialogLayout
QGridLayout * dialogLayout()
Definition: kgetpanelbar_p.h:38
KGetPanelBar::Private
Definition: kgetpanelbar_p.h:31
QList
KGetPanelBar::Private::transfersRemoved
void transfersRemoved(const QList< OrgKdeKgetTransferInterface * > &transfers)
Definition: kgetpanelbar.cpp:95
KGetPanelBar::Private::transfersAdded
void transfersAdded(const QList< OrgKdeKgetTransferInterface * > &transfers)
Definition: kgetpanelbar.cpp:71
KGetPanelBar::Private::Private
Private(QWidget *parent=0)
Definition: kgetpanelbar.cpp:52
KGetPanelBar::Private::update
void update()
Definition: kgetpanelbar.cpp:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 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