#include <PhosphorShellLauncher/ClipboardProvider.h>
◆ ClipboardProvider()
| PhosphorShellLauncher::ClipboardProvider::ClipboardProvider |
( |
QObject * | service, |
|
|
QObject * | parent = nullptr ) |
|
explicit |
The service is resolved ONCE, here.
A host that publishes its clipboard service lazily and constructs this provider first gets a permanently inert provider and one warning at startup: there is no signal on a duck-typed dependency to re-read it from, so the contract is that the service exists by the time this is built.
◆ ~ClipboardProvider()
| PhosphorShellLauncher::ClipboardProvider::~ClipboardProvider |
( |
| ) |
|
|
override |
◆ activate()
| bool PhosphorShellLauncher::ClipboardProvider::activate |
( |
const QString & | resultId, |
|
|
Activation | activation ) |
|
nodiscardoverridevirtual |
◆ displayName()
| QString PhosphorShellLauncher::ClipboardProvider::displayName |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ iconName()
| QString PhosphorShellLauncher::ClipboardProvider::iconName |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ id()
| QString PhosphorShellLauncher::ClipboardProvider::id |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ listsOnEmptyQuery()
| bool PhosphorShellLauncher::ClipboardProvider::listsOnEmptyQuery |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ maximumResults()
| int PhosphorShellLauncher::ClipboardProvider::maximumResults |
( |
| ) |
const |
|
nodiscard |
◆ results()
◆ setMaximumResults()
| void PhosphorShellLauncher::ClipboardProvider::setMaximumResults |
( |
int | count | ) |
|
◆ setQuery()
| void PhosphorShellLauncher::ClipboardProvider::setQuery |
( |
const QString & | query | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: