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

kdf

  • sources
  • kde-4.12
  • kdeutils
  • kdf
kwikdisk.h
Go to the documentation of this file.
1 /*
2 kwikdisk.cpp - KDiskFree
3 
4 Copyright (C) 1999 by Michael Kropfberger <michael.kropfberger@gmx.net>
5  2009 Dario Andres Rodriguez <andresbajotierra@gmail.com>
6 
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11 
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21 */
22 
23 // With changes by Espen Sand and Stanislav Karchebny.
24 
25 #ifndef KWIKDISK_H
26 #define KWIKDISK_H
27 
28 #include <ksystemtrayicon.h>
29 
30 #include "disklist.h"
31 #include "stdoption.h"
32 #include "optiondialog.h"
33 
34 class QActionGroup;
35 
41 class KwikDisk : public KSystemTrayIcon
42 {
43  Q_OBJECT
44 
45  public:
46  KwikDisk();
47 
48  private Q_SLOTS:
49  void updateDFDone();
50  void criticallyFull(DiskEntry*);
51  void toggleMount(QAction*);
52  void loadSettings();
53  void changeSettings();
54  void startKDF();
55  void invokeHelp();
56  void slotActivated(QSystemTrayIcon::ActivationReason reason);
57  void clearDeviceActions();
58 
59  private:
60  void timerEvent(QTimerEvent *);
61  void enterEvent(QEvent *);
62  void leaveEvent(QEvent *);
63 
64  void setUpdateFrequency(int frequency);
65 
66  void updateDF();
67 
68  DiskList m_diskList;
69  CStdOption m_options;
70  bool m_readingDF;
71  bool m_dirty;
72  bool m_menuVisible;
73  bool m_inside;
74  COptionDialog *m_optionDialog;
75  QActionGroup * m_actionGroup;
76  QAction * m_actionSeparator;
77 };
78 
79 #endif // _KWIKDISK_H_
80 
DiskEntry
Definition: disks.h:30
stdoption.h
optiondialog.h
COptionDialog
Definition: optiondialog.h:28
CStdOption
Definition: stdoption.h:34
DiskList
Definition: disklist.h:58
disklist.h
KwikDisk::KwikDisk
KwikDisk()
Definition: kwikdisk.cpp:61
KwikDisk
Application Main Window (however in Tray)
Definition: kwikdisk.h:41
KSystemTrayIcon
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdf

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

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