#include <mythdialogs.h>

Ie. used by MythMusic when scanning the filesystem for musicfiles.
Definition at line 294 of file mythdialogs.h.
Public Slots | |
| virtual void | deleteLater (void) |
Public Member Functions | |
| MythBusyDialog (const QString &title, bool cancelButton=false, const QObject *target=NULL, const char *slot=NULL) | |
| Create the busy indicator. | |
| void | start (int interval=100) |
| Setup a timer to 'move' the spinner. | |
| void | Close () |
| Close the dialog. | |
Protected Slots | |
| void | setProgress () |
| void | timeout () |
Protected Member Functions | |
| void | Teardown (void) |
| ~MythBusyDialog () | |
Private Attributes | |
| QTimer * | timer |
| MythBusyDialog::MythBusyDialog | ( | const QString & | title, | |
| bool | cancelButton = false, |
|||
| const QObject * | target = NULL, |
|||
| const char * | slot = NULL | |||
| ) |
Create the busy indicator.
Creates the dialog widget and sets up the timer that causes the widget to indicate progress every 100msec;
| title | the title to appear in the progress bar dialog | |
| cancelButton | display cancel button | |
| target | target for cancel signal | |
| slot | slot for cancel signal |
Definition at line 917 of file mythdialogs.cpp.
| MythBusyDialog::~MythBusyDialog | ( | ) | [protected] |
Definition at line 925 of file mythdialogs.cpp.
| void MythBusyDialog::start | ( | int | interval = 100 |
) |
Setup a timer to 'move' the spinner.
This will create a QTimer object that will update the spinner ever interval msecs.
| interval | msecs between movement, default is 100 |
Definition at line 946 of file mythdialogs.cpp.
Referenced by MythNews::createProgress(), RebuildMusicTree(), FileScanner::SearchDir(), PlaybackBoxMusic::showEditMetadataDialog(), Ripper::startEjectCD(), ImportMusicDialog::startScan(), Ripper::startScanCD(), and XMLTVConfig::XMLTVConfig().
| void MythBusyDialog::Close | ( | void | ) |
Close the dialog.
This will close the dialog and stop the timer.
Reimplemented from MythProgressDialog.
Definition at line 957 of file mythdialogs.cpp.
Referenced by SourceManager::findScripts(), RebuildMusicTree(), FileScanner::SearchDir(), PlaybackBoxMusic::showEditMetadataDialog(), ZMEvents::showMenu(), and XMLTVConfig::XMLTVConfig().
| void MythBusyDialog::deleteLater | ( | void | ) | [virtual, slot] |
Reimplemented from MythProgressDialog.
Definition at line 930 of file mythdialogs.cpp.
Referenced by SourceManager::findScripts(), RebuildMusicTree(), FileScanner::SearchDir(), PlaybackBoxMusic::showEditMetadataDialog(), ZMEvents::showMenu(), Ripper::startEjectCD(), ImportMusicDialog::startScan(), Ripper::startScanCD(), and XMLTVConfig::XMLTVConfig().
| void MythBusyDialog::setProgress | ( | void | ) | [protected, slot] |
| void MythBusyDialog::timeout | ( | void | ) | [protected, slot] |
| void MythBusyDialog::Teardown | ( | void | ) | [protected] |
Reimplemented from MythProgressDialog.
Definition at line 936 of file mythdialogs.cpp.
Referenced by deleteLater(), and ~MythBusyDialog().
QTimer* MythBusyDialog::timer [private] |
1.5.5