~ubuntu-branches/ubuntu/oneiric/knetworkmanager/oneiric

« back to all changes in this revision

Viewing changes to knetworkmanager/src/knetworkmanager-wired_device_tray.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-07-14 14:05:44 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080714140544-yjhxgrdwartk3kx7
Tags: 1:0.7svn830754-0ubuntu1
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *
 
3
 * knetworkmanager.h - A NetworkManager frontend for KDE 
 
4
 *
 
5
 * Copyright (C) 2005, 2006 Novell, Inc.
 
6
 *
 
7
 * Author: Timo Hoenig     <thoenig@suse.de>, <thoenig@nouse.net>
 
8
 *         Will Stephenson <wstephenson@suse.de>, <wstephenson@kde.org>
 
9
 *         Helmut Schaa    <hschaa@suse.de>, <helmut.schaa@gmx.de>
 
10
 *
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 2 of the License, or
 
14
 * (at your option) any later version.
 
15
 *
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with this program; if not, write to the Free Software
 
23
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
24
 *
 
25
 **************************************************************************/
 
26
 
 
27
#ifndef KNETWORKMANAGER_WIRED_DEVICE_TRAY_H
 
28
#define KNETWORKMANAGER_WIRED_DEVICE_TRAY_H
 
29
 
 
30
// KNM includes
 
31
#include "devicetraycomponent.h"
 
32
 
 
33
#include "knetworkmanager.h"
 
34
 
 
35
// predefs
 
36
class WiredDevice;
 
37
class WiredDeviceTrayPrivate;
 
38
 
 
39
class WiredDeviceTray : public DeviceTrayComponent
 
40
{
 
41
        Q_OBJECT
 
42
 
 
43
        public:
 
44
          WiredDeviceTray (WiredDevice*, KSystemTray * parent = 0, const char * name = 0);
 
45
          ~WiredDeviceTray ();
 
46
 
 
47
                void addMenuItems(KPopupMenu* menu);
 
48
 
 
49
        public slots:
 
50
                void newConnection();
 
51
 
 
52
        private:
 
53
                WiredDeviceTrayPrivate* d;
 
54
};
 
55
 
 
56
#endif /* KNETWORKMANAGER_WIRED_DEVICE_TRAY_H */