QtPass 1.4.0
Multi-platform GUI for pass, the standard unix password manager.
|
The SingleApplication class is used for commandline intergration. More...
#include <singleapplication.h>
Public Slots | |
void | receiveMessage () |
SingleApplication::receiveMessage we have received (a command line) message. | |
Signals | |
void | messageAvailable (QString message) |
messageAvailable notification from commandline | |
Public Member Functions | |
SingleApplication (int &argc, char *argv[], QString uniqueKey) | |
SingleApplication::SingleApplication this replaces the QApplication allowing for local socket based communications. | |
bool | isRunning () |
SingleApplication::isRunning is there already a QtPass instance running, to check wether to be server or client. | |
bool | sendMessage (const QString &message) |
SingleApplication::sendMessage send a message (from commandline) to an already running QtPass instance. | |
The SingleApplication class is used for commandline intergration.
This class needs a bit of work or possibly replacement.
Definition at line 14 of file singleapplication.h.
SingleApplication::SingleApplication | ( | int & | argc, |
char * | argv[], | ||
QString | uniqueKey | ||
) |
SingleApplication::SingleApplication this replaces the QApplication allowing for local socket based communications.
argc | |
argv | |
uniqueKey |
Definition at line 15 of file singleapplication.cpp.
bool SingleApplication::isRunning | ( | ) |
SingleApplication::isRunning is there already a QtPass instance running, to check wether to be server or client.
Definition at line 64 of file singleapplication.cpp.
|
signal |
messageAvailable notification from commandline
message | args sent to qtpass executable |
|
slot |
SingleApplication::receiveMessage we have received (a command line) message.
Definition at line 44 of file singleapplication.cpp.
bool SingleApplication::sendMessage | ( | const QString & | message | ) |
SingleApplication::sendMessage send a message (from commandline) to an already running QtPass instance.
message |
Definition at line 72 of file singleapplication.cpp.