QtPass 1.4.0
Multi-platform GUI for pass, the standard unix password manager.
|
Handles the systemtray icon and menu. More...
#include <trayicon.h>
Public Slots | |
void | showHideParent () |
TrayIcon::showHideParent toggle app visibility. | |
void | iconActivated (QSystemTrayIcon::ActivationReason reason) |
TrayIcon::iconActivated you clicked on the trayicon. | |
Public Member Functions | |
TrayIcon (QMainWindow *parent) | |
TrayIcon::TrayIcon use a (system) tray icon with a nice QtPass logo on it (currently) only Quits. | |
void | showMessage (const QString &title, const QString &msg, int time) |
TrayIcon::showMessage show a systray message for notification. | |
void | setVisible (bool visible) |
TrayIcon::setVisible show or hide the icon. | |
bool | getIsAllocated () |
TrayIcon::getIsAllocated return if TrayIcon is allocated. | |
Handles the systemtray icon and menu.
Definition at line 14 of file trayicon.h.
|
explicit |
TrayIcon::TrayIcon use a (system) tray icon with a nice QtPass logo on it (currently) only Quits.
parent |
Definition at line 16 of file trayicon.cpp.
bool TrayIcon::getIsAllocated | ( | ) |
TrayIcon::getIsAllocated return if TrayIcon is allocated.
Definition at line 57 of file trayicon.cpp.
|
slot |
TrayIcon::iconActivated you clicked on the trayicon.
reason |
Definition at line 112 of file trayicon.cpp.
void TrayIcon::setVisible | ( | bool | visible | ) |
TrayIcon::setVisible show or hide the icon.
visible |
Definition at line 47 of file trayicon.cpp.
|
slot |
TrayIcon::showHideParent toggle app visibility.
Definition at line 101 of file trayicon.cpp.
void TrayIcon::showMessage | ( | const QString & | title, |
const QString & | msg, | ||
int | time | ||
) |
TrayIcon::showMessage show a systray message for notification.
title | |
msg | |
time |
Definition at line 132 of file trayicon.cpp.