KSNotification

KSNotification Namespace Reference

Enumerations

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

Functions

QSharedPointer< QMessageBoxcloseableMessage (const QString &message, const QString &title)
 
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 31 of file ksnotification.h.

◆ EventType

enum KSNotification::EventType

Definition at line 23 of file ksnotification.h.

Function Documentation

◆ closeableMessage()

QSharedPointer< QMessageBox > KSNotification::closeableMessage ( const QString & message,
const QString & title )

Definition at line 80 of file ksnotification.cpp.

◆ 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 98 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-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:47:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.