1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 11:02:47 +02:00

Made Link/LinkApp::searchIcon() protected (instead of public)

This commit is contained in:
Maarten ter Huurne 2013-08-12 05:04:20 +02:00
parent 02dd542ea5
commit 0d0eebe365
2 changed files with 4 additions and 2 deletions

View File

@ -50,6 +50,7 @@ protected:
Surface *iconSurface; Surface *iconSurface;
Surface *icon_hover; Surface *icon_hover;
virtual const std::string &searchIcon();
void setIconPath(const std::string &icon); void setIconPath(const std::string &icon);
void updateSurfaces(); void updateSurfaces();
@ -61,7 +62,6 @@ public:
virtual bool paintHover(); virtual bool paintHover();
virtual void loadIcon(); virtual void loadIcon();
virtual const std::string &searchIcon();
void setSize(int w, int h); void setSize(int w, int h);
void setPosition(int x, int y); void setPosition(int x, int y);

View File

@ -57,6 +57,9 @@ private:
const std::string &selectedFile = "", const std::string &selectedFile = "",
const std::string &selectedDir = ""); const std::string &selectedDir = "");
protected:
virtual const std::string &searchIcon();
public: public:
#ifdef HAVE_LIBOPK #ifdef HAVE_LIBOPK
const std::string &getCategory() { return category; } const std::string &getCategory() { return category; }
@ -72,7 +75,6 @@ public:
#endif #endif
virtual void loadIcon(); virtual void loadIcon();
virtual const std::string &searchIcon();
#if defined(PLATFORM_A320) || defined(PLATFORM_GCW0) #if defined(PLATFORM_A320) || defined(PLATFORM_GCW0)
bool consoleApp; bool consoleApp;