aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-terminal/TrayIcon.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-04-27 23:48:24 -0400
committerKen Moore <ken@ixsystems.com>2017-04-27 23:48:24 -0400
commit8eba2f4ad58f6f9cc087e544e5f69a3285a99f10 (patch)
treee17acae30ebd4ca46d93b9589947202b8d8be8c1 /src-qt5/desktop-utils/lumina-terminal/TrayIcon.h
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-8eba2f4ad58f6f9cc087e544e5f69a3285a99f10.tar.gz
lumina-8eba2f4ad58f6f9cc087e544e5f69a3285a99f10.tar.bz2
lumina-8eba2f4ad58f6f9cc087e544e5f69a3285a99f10.zip
Move the unfinished utilities in Lumina over to an "experimental" directory.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal/TrayIcon.h')
-rw-r--r--src-qt5/desktop-utils/lumina-terminal/TrayIcon.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/src-qt5/desktop-utils/lumina-terminal/TrayIcon.h b/src-qt5/desktop-utils/lumina-terminal/TrayIcon.h
deleted file mode 100644
index 961aaa90..00000000
--- a/src-qt5/desktop-utils/lumina-terminal/TrayIcon.h
+++ /dev/null
@@ -1,59 +0,0 @@
-//===========================================
-// Lumina-DE source code
-// Copyright (c) 2015, Ken Moore
-// Available under the 3-clause BSD license
-// See the LICENSE file for full details
-//===========================================
-#ifndef _LUMINA_DESKTOP_UTILITIES_TERMINAL_TRAY_ICON_H
-#define _LUMINA_DESKTOP_UTILITIES_TERMINAL_TRAY_ICON_H
-// QT Includes
-#include <QApplication>
-#include <QSystemTrayIcon>
-#include <QMenu>
-#include <QTimer>
-#include <QSettings>
-
-#include <LuminaXDG.h>
-
-#include "TermWindow.h"
-
-class TrayIcon : public QSystemTrayIcon {
- Q_OBJECT
-
-public:
- TrayIcon();
- ~TrayIcon();
-
- //First run
- void parseInputs(QStringList); //Note that this is only run on the primary process - otherwise it gets sent to the singleInstance slot below
-
-public slots:
- void slotSingleInstance(QStringList inputs = QStringList());
- void updateIcons();
-
-private:
- bool termVisible;
- TermWindow *TERM;
- QMenu *ScreenMenu;
- QStringList adjustInputs(QStringList);
- QSettings *settings;
-private slots:
- //Action Buttons
- void startCleanup();
- void stopApplication();
- void ChangeTopBottom(bool ontop);
- void ChangeScreen(QAction*);
-
- //Tray Updates
- void setupContextMenu();
- void updateScreenMenu();
- void TrayActivated(QSystemTrayIcon::ActivationReason);
-
- //Slots for the window visibility
- void ToggleVisibility();
- void TermHidden();
- void TermVisible();
-
-};
-
-#endif
bgstack15