|
@@ -52,7 +52,7 @@ private:
|
|
|
|
|
|
class AppResult final : public Result {
|
|
class AppResult final : public Result {
|
|
public:
|
|
public:
|
|
- AppResult(RefPtr<Gfx::Bitmap> bitmap, DeprecatedString title, DeprecatedString tooltip, NonnullRefPtr<Desktop::AppFile> af, DeprecatedString arguments, int score)
|
|
|
|
|
|
+ AppResult(RefPtr<Gfx::Bitmap const> bitmap, DeprecatedString title, DeprecatedString tooltip, NonnullRefPtr<Desktop::AppFile> af, DeprecatedString arguments, int score)
|
|
: Result(move(title), move(tooltip), score)
|
|
: Result(move(title), move(tooltip), score)
|
|
, m_app_file(move(af))
|
|
, m_app_file(move(af))
|
|
, m_arguments(move(arguments))
|
|
, m_arguments(move(arguments))
|
|
@@ -67,7 +67,7 @@ public:
|
|
private:
|
|
private:
|
|
NonnullRefPtr<Desktop::AppFile> m_app_file;
|
|
NonnullRefPtr<Desktop::AppFile> m_app_file;
|
|
DeprecatedString m_arguments;
|
|
DeprecatedString m_arguments;
|
|
- RefPtr<Gfx::Bitmap> m_bitmap;
|
|
|
|
|
|
+ RefPtr<Gfx::Bitmap const> m_bitmap;
|
|
};
|
|
};
|
|
|
|
|
|
class CalculatorResult final : public Result {
|
|
class CalculatorResult final : public Result {
|
|
@@ -83,7 +83,7 @@ public:
|
|
virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; }
|
|
virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; }
|
|
|
|
|
|
private:
|
|
private:
|
|
- RefPtr<Gfx::Bitmap> m_bitmap;
|
|
|
|
|
|
+ RefPtr<Gfx::Bitmap const> m_bitmap;
|
|
};
|
|
};
|
|
|
|
|
|
class FileResult final : public Result {
|
|
class FileResult final : public Result {
|
|
@@ -111,7 +111,7 @@ public:
|
|
virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; }
|
|
virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; }
|
|
|
|
|
|
private:
|
|
private:
|
|
- RefPtr<Gfx::Bitmap> m_bitmap;
|
|
|
|
|
|
+ RefPtr<Gfx::Bitmap const> m_bitmap;
|
|
};
|
|
};
|
|
|
|
|
|
class URLResult final : public Result {
|
|
class URLResult final : public Result {
|
|
@@ -127,7 +127,7 @@ public:
|
|
virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; }
|
|
virtual Gfx::Bitmap const* bitmap() const override { return m_bitmap; }
|
|
|
|
|
|
private:
|
|
private:
|
|
- RefPtr<Gfx::Bitmap> m_bitmap;
|
|
|
|
|
|
+ RefPtr<Gfx::Bitmap const> m_bitmap;
|
|
};
|
|
};
|
|
|
|
|
|
class Provider : public RefCounted<Provider> {
|
|
class Provider : public RefCounted<Provider> {
|