From 7a1aaf4d1e86d45691e981e92d99a817849240fd Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 1 Feb 2011 17:32:57 +0100 Subject: User Agent Switcher. This patch should implement the UA switcher ability for rekonq. This is a first implementation, but it seems working quite well. It is based on KDE UA management and should be fully compatible with konqueror's one i.e. it should be possible using alternatively rekonq and konqueror sharing the same setting. Anyway, this is a different implementation from the konqueror's one. Simpler and based on the idea of a future moving to a plugin. --- src/mainwindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index c915934b..3a918879 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -166,6 +166,11 @@ private Q_SLOTS: void setEncoding(QAction *); void populateEncodingMenu(); + // user agent + void setUserAgent(); + void populateUserAgentMenu(); + void showUserAgentSettings(); + void enableNetworkAnalysis(bool); void initBookmarkBar(); @@ -186,6 +191,8 @@ private: KMenu *m_encodingMenu; KMenu *m_tabListMenu; + KMenu *m_userAgentMenu; + BookmarkToolBar *m_bookmarksBar; QString m_lastSearch; -- cgit v1.2.1