Commit aa9b735a3f06bc4591d3dd7702ecec5042f6f03b
- Date: Thu Jun 12 01:08:31 +0000 2008
- Committer: Kitsune (sutoka@gmail.com)
- Author: Kitsune (sutoka@gmail.com)
- Commit SHA1: aa9b735a3f06bc4591d3dd7702ecec5042f6f03b
- Tree SHA1: 275e5215d3e56012684adb6fbf4b09b134cfa114
- src/foxkit.cpp 7 -++++++
- src/foxkit.h 1 +
- src/wrapper.h 3 +++
- src/foxkitui.rc 2 -+
Commit diff
- Diff rendering mode:
- inline
- side by side
src/foxkit.cpp
|   | ||
| 122 | 122 | |
| 123 | 123 | KStandardAction::back(this, SLOT(pageBack()), actionCollection()); |
| 124 | 124 | KStandardAction::forward(this, SLOT(pageForward()), actionCollection()); |
| 125 | ||
| 125 | m_reload = new KAction(KIcon("view-refresh.png"), i18n("Reload"), this); | |
| 126 | m_closeTab->setStatusTip(i18n("Reloads the current tab.")); | |
| 127 | m_closeTab->setShortcut(i18n("F5")); | |
| 128 | connect(m_reload, SIGNAL(triggered()), this, SLOT(pageReload())); | |
| 129 | actionCollection()->addAction("reload", m_reload); | |
| 130 | //KStandardAction::redisplay(this, SLOT(pageReload()), actionCollection()); | |
| 126 | 131 | KStandardAction::quit(kapp, SLOT(quit()), actionCollection()); |
| 127 | 132 | |
| 128 | 133 | //No Standard Action for Stop? |
| toggle raw diff | ||
src/foxkit.h
|   | ||
| 119 | 119 | KAction *m_newTab; |
| 120 | 120 | KAction *m_closeTab; |
| 121 | 121 | KAction *m_stop; |
| 122 | KAction *m_reload; | |
| 122 | 123 | |
| 123 | 124 | //Variables that hold the user's current settings |
| 124 | 125 | QString m_homePage; //Defaulting to http://www.xkcd.com until |
| toggle raw diff | ||
src/foxkitui.rc
|   | ||
| 9 | 9 | <Action name="forward" /> |
| 10 | 10 | <Separator name="separator_0" /> |
| 11 | 11 | <Action name="view_redisplay" /> |
| 12 | ||
| 12 | <Action name="reload" /> | |
| 13 | 13 | <Action name="stop" /> |
| 14 | 14 | </ToolBar> |
| 15 | 15 | <ToolBar iconText="icononly" fullWidth="true" noMerge="1" name="LocationBar" newline="1" > |
| toggle raw diff | ||
src/wrapper.h
|   | ||
| 35 | 35 | |
| 36 | 36 | private slots: |
| 37 | 37 | void newFoxkit(QUrl url); |
| 38 | ||
| 39 | private: | |
| 40 | ||
| 38 | 41 | }; |
| 39 | 42 | |
| 40 | 43 | #endif |
| toggle raw diff | ||
