ginebra2/emulator/browser.h
changeset 9 b39122337a00
parent 3 0954f5dd2cd0
child 16 3c88a81ff781
equal deleted inserted replaced
7:a1f515018ac1 9:b39122337a00
    36   ~GinebraBrowser();
    36   ~GinebraBrowser();
    37   void show();
    37   void show();
    38   void showSplashScreen();
    38   void showSplashScreen();
    39   void destroySplashScreen();
    39   void destroySplashScreen();
    40   void setApplicationNameVersion();
    40   void setApplicationNameVersion();
    41   /*
       
    42 private:
       
    43   QDir getHomeDir();
       
    44   void removeFaviconDir();
       
    45 */
       
    46   void queueOpenUrl(QString url);
    41   void queueOpenUrl(QString url);
    47 
    42 
    48  signals:
    43  signals:
    49   void openUrlRequested(QString url);
    44   void openUrlRequested(QString url);
    50 
    45 
    51  public slots:
    46  public slots:
    52   void onChromeComplete();
    47   void onChromeComplete();
    53   void openUrl(QString);
    48   void openUrl(QString);
    54 
    49 
       
    50 #ifdef Q_WS_MAEMO_5
       
    51  private slots:
       
    52   void onBookmarksAction();
       
    53   void onHistoryAction();
       
    54 #endif
       
    55 
       
    56  private:
       
    57   void platformSpecificInit();
       
    58 
    55  private:
    59  private:
    56   QString m_install;
    60   QString m_install;
    57   QString m_chromeUrl;
    61   QString m_chromeUrl;
    58   QString m_contentUrl;
    62   QString m_contentUrl;
    59   QString m_installBase;
    63   QString m_installBase;
    60   GVA::ChromeWidget * m_chrome;
    64   GVA::ChromeWidget * m_chrome;
    61   GVA::ChromeView * m_view;
    65   GVA::ChromeView * m_view;
    62   QGraphicsScene *m_scene;
    66   QGraphicsScene *m_scene;
       
    67   QString m_initialUrl;
       
    68 #ifdef Q_WS_MAEMO_5
       
    69   QMainWindow *m_mainWindow;
       
    70   QSplashScreen *m_splashScreenM5;
       
    71 #else
    63   QLabel *m_splashScreen;  // Owned
    72   QLabel *m_splashScreen;  // Owned
    64   QString m_initialUrl;
    73 #endif
    65 };
    74 };
    66 
    75 
    67 #endif
    76 #endif