• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • arts
 

arts

Signals | Public Member Functions | List of all members
KArtsServer Class Reference

#include <kartsserver.h>

Inherits TQObject.

Signals

void restartedServer (void)
 

Public Member Functions

 KArtsServer (TQObject *parent=0, const char *name=0)
 
Arts::SoundServerV2 server (void)
 

Detailed Description

KArtsServer is a wrapper to conveniently get a reference to a SoundServer, and restart artsd when necessary, using the kcontrol settings.

Of course we'd rather that artsd never crashed, and that all users start artsd on KDE startup, but at the very least there will always be third party PlayObjects that will crash. So, this is necessary.

Definition at line 37 of file kartsserver.h.

Constructor & Destructor Documentation

◆ KArtsServer()

KArtsServer::KArtsServer ( TQObject *  parent = 0,
const char *  name = 0 
)

Create a new KArtsServer.

Don't forget to create a KArtsDispatcher before using KArtsServer.

Definition at line 34 of file kartsserver.cpp.

◆ ~KArtsServer()

KArtsServer::~KArtsServer ( void  )
virtual

Definition at line 41 of file kartsserver.cpp.

Member Function Documentation

◆ restartedServer

void KArtsServer::restartedServer ( void  )
signal

This is emitted when the soundserver has been restarted (by this KArtsServer instance or outside).

It is not emitted automatically when the soundserver comes up but only after your code calls server().

◆ server()

Arts::SoundServerV2 KArtsServer::server ( void  )

Get a verified reference to the SoundServerV2, (re)starting artsd using the kcontrol-specified settings if necessary.

If the soundserver has changed since you called this method the last time (meaning artsd was restarted) restartedServer() will be emitted.

Definition at line 47 of file kartsserver.cpp.


The documentation for this class was generated from the following files:
  • kartsserver.h
  • kartsserver.cpp

arts

Skip menu "arts"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

arts

Skip menu "arts"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for arts by doxygen 1.9.4
This website is maintained by Timothy Pearson.