You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
30 lines
1.0 KiB
#ifndef KICONS_H
|
|
#define KICONS_H
|
|
|
|
#include <tqiconset.h>
|
|
#include <tqpixmap.h>
|
|
#include <kiconloader.h>
|
|
#include <kicontheme.h>
|
|
|
|
// can be used everywhere - EXCEPT in KFileList related calls, loads the icon according to
|
|
// KIcon::Desktop settings and resizes it to a smaller size. If this is used to toolbuttons,
|
|
// the the icon is resized again to fit into the toolbutton or menu.
|
|
// IMPORTANT: this SHOULD NOT BE USED for actions. If creating an action, just state the file-name
|
|
// of the icon to allow automatic resizing when needed.
|
|
#define LOADICON(X) TQIconSet(krLoader->loadIcon(X,KIcon::Desktop)).pixmap(TQIconSet::Small,true)
|
|
|
|
// used only for calls within the kfilelist framework, handles icon sizes
|
|
TQPixmap FL_LOADICON(TQString name);
|
|
|
|
extern const char * no_xpm[];
|
|
extern const char * yes_xpm[];
|
|
extern const char * link_xpm[];
|
|
extern const char * black_xpm[];
|
|
extern const char * yellow_xpm[];
|
|
extern const char * green_xpm[];
|
|
extern const char * red_xpm[];
|
|
extern const char * white_xpm[];
|
|
extern const char * blue_xpm[];
|
|
|
|
#endif
|