KSNotification

KSNotification Namespace Reference

Enumerations

enum  EventSource {
  General , INDI , Capture , Focus ,
  Align , Mount , Guide , Observatory ,
  Scheduler
}
 
enum  EventType { Debug , Info , Warn , Alert }
 

Functions

void error (const QString &message, const QString &title, uint32_t timeout)
 
void event (const QLatin1String &name, const QString &message, EventSource source, EventType type)
 
void info (const QString &message, const QString &title, uint32_t timeout)
 
void sorry (const QString &message, const QString &title, uint32_t timeout)
 
void transient (const QString &message, const QString &title)
 

Detailed Description

General KStars Notifications for desktop and lite version.

Author
Jasem Mutlaq

Enumeration Type Documentation

◆ EventSource

enum KSNotification::EventSource

Definition at line 29 of file ksnotification.h.

◆ EventType

enum KSNotification::EventType

Definition at line 21 of file ksnotification.h.

Function Documentation

◆ error()

void KSNotification::error ( const QString & message,
const QString & title,
uint32_t timeout )

Definition at line 30 of file ksnotification.cpp.

◆ event()

void KSNotification::event ( const QLatin1String & name,
const QString & message,
EventSource source,
EventType type )

Definition at line 80 of file ksnotification.cpp.

◆ info()

void KSNotification::info ( const QString & message,
const QString & title,
uint32_t timeout )

Definition at line 50 of file ksnotification.cpp.

◆ sorry()

void KSNotification::sorry ( const QString & message,
const QString & title,
uint32_t timeout )

Definition at line 40 of file ksnotification.cpp.

◆ transient()

void KSNotification::transient ( const QString & message,
const QString & title )

transient Non modal message box that gets deleted on close.

Parameters
messagemessage content
titlemessage title

Definition at line 60 of file ksnotification.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.