knotifyclient.h
188 TDECORE_EXPORT int event(const TQString &message, const TQString &text=TQString::null) TDE_DEPRECATED;
197 TDECORE_EXPORT int event( StandardEvent event, const TQString& text=TQString::null ) TDE_DEPRECATED;
209 TDECORE_EXPORT int userEvent(const TQString &text=TQString::null, int present=Default, int level=Default,
263 TDECORE_EXPORT int userEvent(int winId, const TQString &text=TQString::null, int present=Default, int level=Default,
bool useSystemBell() const
Checks whether the system bell should be used.
Definition knotifyclient.cpp:354
static Instance * currentInstance()
Returns the current KNotifyClient::Instance (not the TDEInstance).
Definition knotifyclient.cpp:368
This namespace provides a method for issuing events to a KNotifyServer call KNotifyClient::event("eve...
Definition knotifyclient.h:80
TQString getDefaultFile(const TQString &eventname, int present)
Gets the default File for the event of this program.
Definition knotifyclient.cpp:220
int event(const TQString &message, const TQString &text=TQString::null) TDE_DEPRECATED
Definition knotifyclient.cpp:125
int getDefaultPresentation(const TQString &eventname)
Gets the default presentation for the event of this program.
Definition knotifyclient.cpp:207
bool startDaemon()
This starts the KNotify Daemon, if it's not already started.
Definition knotifyclient.cpp:238
TDEInstance * instance()
Shortcut to KNotifyClient::Instance::current() :).
Definition knotifyclient.cpp:280
void beep(const TQString &reason=TQString::null)
This is a simple substitution for TQApplication::beep().
Definition knotifyclient.cpp:252
int getPresentation(const TQString &eventname)
Gets the presentation associated with a certain event name Remeber that they may be ORed:
Definition knotifyclient.cpp:176
TQString getFile(const TQString &eventname, int present)
Gets the default file associated with a certain event name The control panel module will list all the...
Definition knotifyclient.cpp:189
int userEvent(const TQString &text=TQString::null, int present=Default, int level=Default, const TQString &sound=TQString::null, const TQString &file=TQString::null) TDE_DEPRECATED
Definition knotifyclient.cpp:130
Trinity API Reference