diff options
author | Timothy Pearson <[email protected]> | 2015-09-21 15:39:58 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2015-09-21 15:39:58 -0500 |
commit | b5cb2797d65f2541a4c48ea00e6c325bb375ea46 (patch) | |
tree | 61dad727529d9a69977f44a05aca3a719422558c /kcontrol/hwmanager/hwdevicetray_app.cpp | |
parent | c73eb5f814d1096cd398fbec3084f816ba8a7269 (diff) | |
download | tdebase-b5cb2797d65f2541a4c48ea00e6c325bb375ea46.tar.gz tdebase-b5cb2797d65f2541a4c48ea00e6c325bb375ea46.zip |
Add new hardware device tray application
Allow removable media action request popups to be suppressed
Diffstat (limited to 'kcontrol/hwmanager/hwdevicetray_app.cpp')
-rw-r--r-- | kcontrol/hwmanager/hwdevicetray_app.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/hwdevicetray_app.cpp b/kcontrol/hwmanager/hwdevicetray_app.cpp new file mode 100644 index 000000000..3f96f76a4 --- /dev/null +++ b/kcontrol/hwmanager/hwdevicetray_app.cpp @@ -0,0 +1,32 @@ +/* + * Copyright 2015 Timothy Pearson <[email protected]> + * + * This file is part of hwdevicetray, the TDE Hardware Device Monitor System Tray Application + * + * hwdevicetray is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * hwdevicetray is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with cryptocardwatcher. If not, see http://www.gnu.org/licenses/. + */ + +#include <kdebug.h> + +#include "hwdevicetray_app.h" + +#include "hwdevicetray.h" + +HwDeviceApp::HwDeviceApp() + : m_tray(new HwDeviceSystemTray(0L, "HwDeviceTray")) +{ + m_tray->show(); +} + +#include "hwdevicetray_app.moc"
\ No newline at end of file |