#include </home/clem/local/src/opie/library/resource.h>
Public Member Functions | |
| Resource () | |
Static Public Member Functions | |
| static QImage | loadImage (const QString &name) |
| static QPixmap | loadPixmap (const QString &name) |
| static QBitmap | loadBitmap (const QString &name) |
| static QString | findPixmap (const QString &name) |
| static QIconSet | loadIconSet (const QString &name) |
| static QString | findSound (const QString &name) |
| static QStringList | allSounds () |
The resources may be provided from files or other sources.
The allSounds() function returns a list of all the sounds available. A particular sound can be searched for using findSound().
Images can be loaded with loadImage(), loadPixmap(), loadBitmap() and loadIconSet().
Definition at line 28 of file resource.h.
|
|
For internal use only.
Definition at line 31 of file resource.h. |
|
|
|
|
|
Referenced by Opie::Core::OResource::findPixmap(), and load_image(). |
|
|
Referenced by CardMonitor::getStatusPcmcia(), and CardMonitor::getStatusSd(). |
|
|
|
|
|
Returns a QIconSet for the pixmap named name. A disabled icon is generated that conforms to the Qtopia look & feel. You should avoid including any filename type extension (eg. .png, .xpm). Referenced by ImageViewer::ImageViewer(), FileBrowser::init(), MainWindow::makeMenu(), OpieTooth::ObexDialog::ObexDialog(), OFileViewFileListView::OFileViewFileListView(), QPdfDlg::QPdfDlg(), and TimeZoneSelector::TimeZoneSelector(). |
|
|
1.4.2