KNemo – network interfaces monitor for systray
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

70 lines
1.8 KiB

  1. /* This file is part of KNemo
  2. Copyright (C) 2006 Percy Leonhardt <percy@eris23.de>
  3. KNemo is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU Library General Public License as
  5. published by the Free Software Foundation; either version 2 of
  6. the License, or (at your option) any later version.
  7. KNemo is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Library General Public License for more details.
  11. You should have received a copy of the GNU Library General Public License
  12. along with this library; see the file COPYING.LIB. If not, write to
  13. the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  14. Boston, MA 02110-1301, USA.
  15. */
  16. #ifndef INTERFACESTATISTICSDIALOG_H
  17. #define INTERFACESTATISTICSDIALOG_H
  18. #include <tqwidget.h>
  19. #include "interfacestatisticsdlg.h"
  20. class TQTimer;
  21. class Interface;
  22. /**
  23. * This class shows the statistics dialog. It contains the tables for the
  24. * different statistics.
  25. *
  26. * @short Statistics dialog
  27. * @author Percy Leonhardt <percy@eris23.de>
  28. */
  29. class InterfaceStatisticsDialog : public InterfaceStatisticsDlg
  30. {
  31. Q_OBJECT
  32. public:
  33. /**
  34. * Default Constructor
  35. */
  36. InterfaceStatisticsDialog( Interface* interface,
  37. TQWidget* parent = 0L, const char* name = 0L );
  38. /**
  39. * Default Destructor
  40. */
  41. virtual ~InterfaceStatisticsDialog();
  42. signals:
  43. void clearDailyStatisticsClicked();
  44. void clearMonthlyStatisticsClicked();
  45. void clearYearlyStatisticsClicked();
  46. public slots:
  47. void updateDays();
  48. void updateMonths();
  49. void updateYears();
  50. void updateCurrentEntry();
  51. private:
  52. Interface* mInterface;
  53. };
  54. #endif // INTERFACESTATISTICSDIALOG_H