--- a/ginebra2/mostvisitedsnippet.h Thu Sep 23 15:32:11 2010 -0400
+++ b/ginebra2/mostvisitedsnippet.h Fri Oct 15 17:30:59 2010 -0400
@@ -21,12 +21,13 @@
#ifndef MOSTVISITEDSNIPPET_H
#define MOSTVISITEDSNIPPET_H
-
#include "ChromeSnippet.h"
#include "ChromeWidget.h"
namespace GVA {
+class ExternalEventCharm;
+
class MostVisitedSnippet : public ChromeSnippet
{
Q_OBJECT
@@ -35,7 +36,6 @@
static MostVisitedSnippet * instance(const QString& elementId, ChromeWidget * chrome, const QWebElement & element);
void toggleVisibility(bool animate);
void hide(bool animate);
- void updateMVGeometry();
void setChromeWidget(QGraphicsWidget * widget);
virtual ~MostVisitedSnippet();
void close();
@@ -43,9 +43,10 @@
void mostVisitedSnippetCloseComplete();
private slots :
void displayModeChanged(int newMode);
+ void onWidgetCloseComplete();
private:
ChromeWidget *m_chrome;
+ ExternalEventCharm *m_externalEventCharm;
};
}
-
#endif // MOSTVISITEDSNIPPET_H