NoatunApp Class Reference
Noatun Application class.
More...
#include <noatun/app.h>
Inheritance diagram for NoatunApp:
[legend]List of all members.
Detailed Description
Noatun Application class.
Can be accessed from every plugin by using "napp"
- Author:
- Charles Samuels
- Version:
- 2.3
Definition at line 31 of file app.h.
Member Enumeration Documentation
|
|
The three startup modes how noatun should behave when it is restarted.
Restore - it can restore the player's last state
Play - it automatically starts playing the next file in the playlist
DontPlay - it doesn't start playing
Definition at line 88 of file app.h. |
Member Function Documentation
| bool NoatunApp::autoPlay |
( |
|
) |
const |
|
| bool NoatunApp::clearOnOpen |
( |
|
) |
const |
|
|
|
- Returns:
- true if the playlist will be cleared when opening a new file via commandline or file open dialog, false otherwise
|
| bool NoatunApp::clearOnStart |
( |
|
) |
const |
|
| bool NoatunApp::displayRemaining |
( |
|
) |
const |
|
|
|
- Returns:
- true if remaining time is displayed to the user, false if played time is displayed
|
| void NoatunApp::effectView |
( |
|
) |
[slot] |
|
| void NoatunApp::equalizerView |
( |
|
) |
[slot] |
|
|
|
Shows the equalizer window |
| bool NoatunApp::fastMixer |
( |
|
) |
const |
|
|
|
- Returns:
- true if hardware-mixing is being used, false in case software mixing is active
|
| void NoatunApp::fileOpen |
( |
|
) |
[slot] |
|
|
|
Shows the standard file-open dialog |
| void NoatunApp::hideInterfaces |
( |
|
) |
[slot] |
|
|
|
ask the UIs to hide, then you have to look around for them, or you'll lose |
| void NoatunApp::hideYourself |
( |
|
) |
[signal] |
|
|
|
Tells you (a UI plugin) to hide |
| QString NoatunApp::mimeTypes |
( |
|
) |
|
|
|
|
- Returns:
- a list of mimetypes aRts (and thus Noatun) can play KFileDialog accepts this QString instead of the shell globs in its static functions, make use of it :)
|
| Player* NoatunApp::player |
( |
|
) |
const [inline] |
|
|
|
access to the central player object Any plugin can access the noatun player backend with napp->playlist();
Definition at line 51 of file app.h. |
|
|
Provides access to the central playlist object. Any plugin can access the noatun playlist with napp->playlist(); |
|
|
To insert items use KActions and insert() them into pluginActionMenu(). - Returns:
- pointer to the actionmenu
|
| KPopupMenu* NoatunApp::pluginMenu |
( |
|
) |
|
|
| int NoatunApp::pluginMenuAdd |
( |
const QString & |
text, |
|
|
const QObject * |
receiver, |
|
|
const char * |
member |
|
) |
|
|
| void NoatunApp::pluginMenuRemove |
( |
int |
id |
) |
|
|
|
|
- Deprecated:
- Removes an item previously added to the plugin menu.
- Parameters:
-
| id | the ID of the "to be removed" menu item |
|
| void NoatunApp::preferences |
( |
|
) |
[slot] |
|
| void NoatunApp::quit |
( |
|
) |
[slot] |
|
| void NoatunApp::setAutoPlay |
( |
bool |
|
) |
|
|
| void NoatunApp::setClearOnOpen |
( |
bool |
|
) |
|
|
|
|
Set if the playlist will be cleared when opening a new file via commandline or file open dialog |
| void NoatunApp::setClearOnStart |
( |
bool |
|
) |
|
|
| void NoatunApp::setDisplayRemaining |
( |
bool |
|
) |
|
|
|
|
Pass true if remaining time should be displayed to the user, false if played time should be displayed |
| void NoatunApp::setFastMixer |
( |
bool |
|
) |
|
|
|
|
Set if hardware-mixing ("fast") or software-mixing ("slow") should be used |
| void NoatunApp::showInterfaces |
( |
|
) |
[slot] |
|
| void NoatunApp::showYourself |
( |
|
) |
[signal] |
|
|
|
Tells you (a UI plugin) to show again |
| void NoatunApp::toggleInterfaces |
( |
|
) |
[slot] |
|
|
|
ask the UIs to hide or show |
The documentation for this class was generated from the following file:
This file is part of the documentation for Noatun 2.6.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 23:49:47 2004 by
doxygen 1.3.8-20040913 written by
Dimitri van Heesch, © 1997-2003