#include </home/clem/local/src/opie/core/launcher/launcherview.h>
Collaboration diagram for LauncherIconView:
Public Types | |
| enum | SortMethod { Name, Date, Type } |
Public Member Functions | |
| LauncherIconView (QWidget *parent, const char *name=0) | |
| ~LauncherIconView () | |
| QIconViewItem * | busyItem () const |
| void | setBigIcons (bool bi) |
| void | updateCategoriesAndMimeTypes () |
| void | setBusyIndicatorType (BusyIndicatorType t) |
| void | setStaticBackgroundPicture (bool enable) |
| void | doAutoScroll () |
| void | setBusy (bool on) |
| bool | inKeyEvent () const |
| void | addItem (AppLnk *app, bool resort=TRUE) |
| bool | removeLink (const QString &linkfile, bool removeCache=true) |
| void | changeItem (const AppLnk &old, AppLnk *nlink) |
| QStringList | mimeTypes () const |
| QStringList | categories () const |
| void | clear () |
| void | addCatsAndMimes (AppLnk *app) |
| void | setBackgroundOrigin (QWidget::BackgroundOrigin) |
| void | setBackgroundPixmap (const QPixmap &pm) |
| void | setBackgroundColor (const QColor &c) |
| void | setColNumber (int) |
| void | drawBackground (QPainter *p, const QRect &r) |
| void | setItemTextPos (ItemTextPos pos) |
| void | hideOrShowItems (bool resort) |
| void | setTypeFilter (const QString &typefilter, bool resort) |
| void | setCategoryFilter (int catfilter, bool resort) |
| void | setSortMethod (SortMethod m) |
| int | compare (const AppLnk *a, const AppLnk *b) |
| void | requestEyePix (const LauncherItem *which) |
| virtual void | setPalette (const QPalette &palette) |
| virtual void | unsetPalette () |
Static Public Attributes | |
| static QMap< QString, QPixmap > * | sm_EyeCache = 0 |
Protected Slots | |
| void | setEyePixmap (const QPixmap &, const QString &, int width) |
| void | stopEyeTimer () |
Protected Member Functions | |
| virtual void | timerEvent (QTimerEvent *te) |
| void | styleChange (QStyle &old) |
| void | calculateGrid (ItemTextPos pos) |
| void | focusInEvent (QFocusEvent *) |
| void | focusOutEvent (QFocusEvent *) |
| LauncherItem * | findDocItem (const QString &) |
| void | addCheckItem (AppLnk *app) |
| void | checkCallback () |
| virtual void | keyPressEvent (QKeyEvent *e) |
Private Attributes | |
| QList< AppLnk > | hidden |
| QDict< void > | mimes |
| QDict< void > | cats |
| SortMethod | sortmeth |
| QRegExp | tf |
| int | cf |
| LauncherItem * | bsy |
| int | busyTimer |
| bool | ike |
| bool | bigIcns |
| QPixmap | bgPixmap |
| QColor | bgColor |
| LauncherThumbReceiver * | m_EyeCallBack |
| BusyIndicatorType | busyType |
| QTimer | m_eyeTimer |
| int | numColumns |
| bool | staticBackground |
|
|
Definition at line 210 of file launcherview.h. |
|
||||||||||||
|
Definition at line 294 of file launcherview.cpp. References calculateGrid(), FALSE, hidden, ike, m_EyeCallBack, m_eyeTimer, Name, Config::readBoolEntry(), Config::setGroup(), setStaticBackgroundPicture(), sm_EyeCache, sortmeth, stopEyeTimer(), and TRUE. |
|
|
Definition at line 309 of file launcherview.cpp. |
|
|
Definition at line 416 of file launcherview.cpp. References QString::find(), QString::left(), mimes, QDict< type >::replace(), and AppLnk::type(). Referenced by addItem(), and updateCategoriesAndMimeTypes(). |
|
|
Definition at line 516 of file launcherview.cpp. References bigIcns, checkCallback(), and LauncherItem::isEyeImage(). Referenced by addItem(). |
|
||||||||||||
|
Definition at line 616 of file launcherview.cpp. References addCatsAndMimes(), addCheckItem(), cf, hidden, QRegExp::isEmpty(), QRegExp::match(), and tf. Referenced by LauncherView::addItem(), changeItem(), and hideOrShowItems(). |
|
|
Definition at line 667 of file launcherview.cpp. References bsy. Referenced by LauncherItem::animateIcon(), LauncherItem::paintItem(), and LauncherItem::~LauncherItem(). |
|
|
Definition at line 674 of file launcherview.cpp. References height, and numColumns. Referenced by LauncherIconView(), setColNumber(), setItemTextPos(), and styleChange(). |
|
|
|
|
||||||||||||
|
Definition at line 631 of file launcherview.cpp. References addItem(), QMap< Key, T >::end(), AppLnk::file(), QMap< Key, T >::find(), AppLnk::linkFile(), removeLink(), and sm_EyeCache. Referenced by LauncherView::changeItem(). |
|
|
Definition at line 506 of file launcherview.cpp. References m_EyeCallBack, m_eyeTimer, and setEyePixmap(). Referenced by addCheckItem(), and requestEyePix(). |
|
|
Definition at line 464 of file launcherview.cpp. References cats, QDict< type >::clear(), hidden, and mimes. Referenced by hideOrShowItems(), and LauncherView::removeAllItems(). |
|
||||||||||||
|
Definition at line 351 of file launcherview.cpp. References Date, AppLnk::file(), QFileInfo::lastModified(), AppLnk::linkFile(), AppLnk::linkFileKnown(), AppLnk::name(), Name, sortmeth, AppLnk::type(), and Type. Referenced by LauncherItem::compare(). |
|
|
Definition at line 174 of file launcherview.h. |
|
||||||||||||
|
Definition at line 396 of file launcherview.cpp. References bgColor, bgPixmap, and staticBackground. Referenced by LauncherItem::paintAnimatedIcon(). |
|
|
Definition at line 484 of file launcherview.cpp. References LauncherItem::appLnk(). Referenced by setEyePixmap(). |
|
|
Definition at line 225 of file launcherview.h. |
|
|
Definition at line 226 of file launcherview.h. |
|
|
Definition at line 562 of file launcherview.cpp. References addItem(), clear(), FALSE, hidden, l, LauncherItem::takeAppLnk(), and TRUE. Referenced by LauncherView::clearViewFont(), LauncherView::fontChanged(), LauncherView::relayout(), setCategoryFilter(), setTypeFilter(), LauncherView::setViewFont(), and LauncherView::setViewMode(). |
|
|
Definition at line 180 of file launcherview.h. References ike. Referenced by LauncherView::selectionChanged(). |
|
|
Definition at line 705 of file launcherview.cpp. |
|
|
Definition at line 472 of file launcherview.cpp. References QValueList< T >::append(), QDictIterator< type >::current(), QDictIterator< type >::currentKey(), mimes, and QStringList::sort(). Referenced by LauncherView::updateTools(). |
|
||||||||||||
|
Definition at line 586 of file launcherview.cpp. References LauncherItem::appLnk(), FALSE, AppLnk::file(), AppLnk::fileKnown(), hidden, AppLnk::isValid(), l, AppLnk::linkFile(), AppLnk::linkFileKnown(), QMap< Key, T >::remove(), sm_EyeCache, and TRUE. Referenced by changeItem(), and LauncherView::removeLink(). |
|
|
Definition at line 524 of file launcherview.cpp. References LauncherItem::appLnk(), bigIcns, AppLnk::bigIconSize(), checkCallback(), LauncherItem::isEyeImage(), m_EyeCallBack, LauncherThumbReceiver::requestThumb(), s, and AppLnk::smallIconSize(). Referenced by LauncherItem::pixmap(). |
|
|
Definition at line 197 of file launcherview.h. References bgColor. |
|
|
Definition at line 191 of file launcherview.h. |
|
|
Definition at line 193 of file launcherview.h. References bgPixmap. |
|
|
Definition at line 658 of file launcherview.cpp. References bigIcns, QMap< Key, T >::clear(), and sm_EyeCache. Referenced by LauncherView::setViewMode(). |
|
|
Definition at line 431 of file launcherview.cpp. References bigIcns, AppLnk::bigIconSize(), bsy, busyTimer, busyType, size, and AppLnk::smallIconSize(). Referenced by LauncherView::setBusy(), and LauncherItem::~LauncherItem(). |
|
|
Definition at line 672 of file launcherview.cpp. References busyType. Referenced by LauncherView::setBusyIndicatorType(). |
|
||||||||||||
|
Definition at line 375 of file launcherview.cpp. References cf, and hideOrShowItems(). Referenced by LauncherView::showCategory(). |
|
|
Definition at line 1062 of file launcherview.cpp. References calculateGrid(), and numColumns. Referenced by LauncherView::setColNumber(). |
|
||||||||||||||||
|
Definition at line 496 of file launcherview.cpp. References bigIcns, AppLnk::bigIconSize(), findDocItem(), LauncherItem::isEyeImage(), s, LauncherItem::setEyePixmap(), and AppLnk::smallIconSize(). Referenced by checkCallback(), and stopEyeTimer(). |
|
|
Definition at line 390 of file launcherview.cpp. References calculateGrid(). Referenced by LauncherView::setViewMode(). |
|
|
Definition at line 329 of file launcherview.cpp. References s_IgnoreNextPix. Referenced by LauncherView::paletteChange(), and LauncherView::setTextColor(). |
|
|
Definition at line 367 of file launcherview.cpp. References sortmeth. Referenced by LauncherView::sortBy(). |
|
|
Definition at line 336 of file launcherview.cpp. References staticBackground. Referenced by LauncherIconView(). |
|
||||||||||||
|
Definition at line 384 of file launcherview.cpp. References FALSE, hideOrShowItems(), tf, and TRUE. Referenced by LauncherView::showType(). |
|
|
Definition at line 534 of file launcherview.cpp. References m_EyeCallBack, m_eyeTimer, and setEyePixmap(). Referenced by LauncherIconView(). |
|
|
Definition at line 699 of file launcherview.cpp. References calculateGrid(). |
|
|
Definition at line 648 of file launcherview.cpp. References LauncherItem::animateIcon(), bsy, and busyTimer. |
|
|
Definition at line 322 of file launcherview.cpp. References s_IgnoreNextPix. Referenced by LauncherView::paletteChange(). |
|
|
Definition at line 545 of file launcherview.cpp. References addCatsAndMimes(), LauncherItem::appLnk(), cats, QDict< type >::clear(), hidden, l, and mimes. Referenced by LauncherView::updateTools(). |
|
|
Definition at line 248 of file launcherview.h. Referenced by drawBackground(), and setBackgroundColor(). |
|
|
Definition at line 247 of file launcherview.h. Referenced by drawBackground(), and setBackgroundPixmap(). |
|
|
Definition at line 246 of file launcherview.h. Referenced by addCheckItem(), requestEyePix(), setBigIcons(), setBusy(), and setEyePixmap(). |
|
|
Definition at line 243 of file launcherview.h. Referenced by busyItem(), setBusy(), and timerEvent(). |
|
|
Definition at line 244 of file launcherview.h. Referenced by setBusy(), and timerEvent(). |
|
|
Definition at line 253 of file launcherview.h. Referenced by setBusy(), and setBusyIndicatorType(). |
|
|
Definition at line 239 of file launcherview.h. Referenced by clear(), and updateCategoriesAndMimeTypes(). |
|
|
Definition at line 242 of file launcherview.h. Referenced by addItem(), and setCategoryFilter(). |
|
|
Definition at line 237 of file launcherview.h. Referenced by addItem(), clear(), hideOrShowItems(), LauncherIconView(), removeLink(), updateCategoriesAndMimeTypes(), and ~LauncherIconView(). |
|
|
Definition at line 245 of file launcherview.h. Referenced by inKeyEvent(), keyPressEvent(), and LauncherIconView(). |
|
|
Definition at line 249 of file launcherview.h. Referenced by checkCallback(), LauncherIconView(), requestEyePix(), and stopEyeTimer(). |
|
|
Definition at line 254 of file launcherview.h. Referenced by checkCallback(), LauncherIconView(), and stopEyeTimer(). |
|
|
Definition at line 238 of file launcherview.h. Referenced by addCatsAndMimes(), clear(), mimeTypes(), and updateCategoriesAndMimeTypes(). |
|
|
Definition at line 255 of file launcherview.h. Referenced by calculateGrid(), and setColNumber(). |
|
|
Definition at line 292 of file launcherview.cpp. Referenced by LauncherItem::animateIcon(), changeItem(), LauncherIconView(), LauncherItem::LauncherItem(), removeLink(), LauncherItem::resetIcon(), and setBigIcons(). |
|
|
Definition at line 240 of file launcherview.h. Referenced by compare(), LauncherIconView(), and setSortMethod(). |
|
|
Definition at line 256 of file launcherview.h. Referenced by drawBackground(), and setStaticBackgroundPicture(). |
|
|
Definition at line 241 of file launcherview.h. Referenced by addItem(), and setTypeFilter(). |
1.4.2