summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix close & sessionAndrea Diamantini2011-09-131-18/+1
| | | | | | | | | | First, I'm really sorry for this bad commit ('git' talking..). The fact is that the 3 bugs fixed here were found chained playing with close code. Here it is the report: - fix close window (it now really appears on multiple window closing) - fix saveSession (saving one call for each site loaded and storing better information): saveSession is now called on loadFinished - clean up some compilation warnings
* Add option to close window by closing last tabAndrea Diamantini2011-09-081-7/+14
| | | | Usual behavior in Firefox/Chrome. Let it be configurable here :)
* Change webTab Variable Name to tabToStopDavid E. Narváez2011-09-021-2/+2
| | | | | | | Change the name of the variable in webStop slot to avoid name collision with the webTab method in the same MainView class. REVIEW: 102521
* Unify reloading methodsDavid E. Narváez2011-09-021-12/+12
| | | | | | All code paths for reloading methods and slots now end up at reloadTab and do proper handling of the about scheme REVIEW: 102481
* Restore tab's history when restoring a tab/sessionAnton Kreuzkamp2011-08-211-21/+26
| | | | | | | | We finally have it :D CCMAIL: akreuzkamp@web.de REVIEW: 100604 REVIEWED-BY: adjam, elproxy
* clean upAndrea Diamantini2011-07-251-70/+70
| | | | | | - QL1S - one stupid kDebug less - codingstyle
* Calm down kDebug messagesAndrea Diamantini2011-07-191-2/+0
|
* A round of the "new" astyle 2.01...Andrea Diamantini2011-07-171-80/+80
|
* Focus the WebView when a page start to loadYoann Laissus2011-05-231-1/+7
|
* Use of QSignalMapper for switchToTab() method in terms of code unificationAndrea Diamantini2011-05-091-7/+3
| | | | | | Patch by Thomas Murach, thanks ;) RB:101246
* Imported Opera feature to load favorite page with number 1..9 by pressing ↵Andrea Diamantini2011-04-281-0/+10
| | | | | | | | | | | | | | | CTRL + 1..9 Courtesy patch by Thomas Murach. Thanks :) Reviewed by Pierre, Felix... and me! RB: 101043 PS: Thomas, I see one corner problem with your patch: Opera has clearly indicated favorites preview number, while rekonq hasn't. Any idea to fill the gap?
* Fixing my fixed patch :)Andrea Diamantini2011-03-261-1/+1
| | | | | | My fault. The problem was that the patch command failed, the patch was just 3 lines, so I copied by hands, then I see the webTab->url() and... ;) Anyway, now it is really Johannes's patch. Sorry.
* Reload (also) about pages with the reload buttonAndrea Diamantini2011-03-261-2/+9
| | | | | | Another fantastic patch by Johannes Troscher BUG:267748
* Workaround the troubles with the tabbar highlight feature.Andrea Diamantini2011-03-211-1/+6
| | | | | | Another fantastic patch by Johannes Trosher. Thanks :) CCBUG:267234
* This changes fixes a crash that can occur on fast closing a lot of tabs.Andrea Diamantini2011-03-011-4/+10
| | | | | It anyway changes a bit the behavior in that situation, running to set as current the first tab (That FOR SURE will NOT be deleted)
* Coding styleAndrea Diamantini2011-02-251-21/+21
|
* Finally found time to update copyrights... ;)Andrea Diamantini2011-02-241-2/+2
|
* No more static members in the Application class,Pierre Rossi2011-02-241-10/+10
| | | | | | | an rApp shortcut for Application::instance, clean up code switching to use the new shortcut Reviewed by: adjam
* Cleans up "tab switch" management and expecially the use of signalsAndrea Diamantini2011-02-171-5/+13
| | | | | | | on that. This, expecially to avoid double calls on functions to manage tab switching and info updating. Reviewed by NOBODY (oops...)
* This patch cleans up tabbar update: show/hide when ↵Andrea Diamantini2011-02-161-44/+42
| | | | | | | | | | ReKonfig::alwaysShowTabBar() is off and update tab button position. It also removes a "feature" introduced to hide/show tab button on tab moving: it has negative effects on tab middle click closing. Reviewed by: NOBODY (oops..)
* Calm down kDebug messagesAndrea Diamantini2011-02-161-1/+0
|
* Highlights inactive tabs if title changes.Andrea Diamantini2011-02-141-0/+6
| | | | | | Fantastic patch by Johannes Troscher. Reviewed by benjaminp (mainly) and adjam
* Ensure new tab button is shown on moveAndrea Diamantini2011-02-141-0/+1
| | | | BUG:253612
* Revert "highlights inactive tabs if title changes"Andrea Diamantini2011-02-101-6/+0
| | | | | | | | It seems that while me and pierre (with our lazy eyes) found this good, Benjamin found some glitches to fix :) Waiting for a better patch... This reverts commit fc669e0bf82018baa70a8b59529e1a571d5ad820.
* highlights inactive tabs if title changesAndrea Diamantini2011-02-101-0/+6
| | | | | | | Courtesy patch by Johannes Troscher. Thanks :) Reviewed by: adjam Reviewed by: elproxy
* Limit the number of entries in the closed tabs history to 10. Reviewed by ↵Your Name2011-02-021-0/+3
| | | | benjaminp.
* This code fixes new tab button appearing on new window when tabbar is set hiddenAndrea Diamantini2011-01-191-1/+3
| | | | | (Always show tab bar = false) This fix comes from a Felix Rohrbach idea. Thanks :)
* Fix the always opened tabbar feature.Andrea Diamantini2011-01-091-0/+4
| | | | | | | Felix Rohrbach's fix Thanks :) PS: plus a correction in previous UI by me
* This GCI task adds a combobox with different settings to choice when ↵Andrea Diamantini2011-01-071-0/+4
| | | | | | | | | | | | | | hovering tabs: * tab preview (default one) * show title as tooltip * show url as tooltip * show nothing Patch by Furkan Uzumcu, reviewed (and merged) by adjam BUG:260343 RB:100282
* Horizontal scroll wheel may now be used to navigate through history ↵Felix Rohrbach2011-01-051-0/+2
| | | | (Disabled by default).
* Show and hide the add-tab button automaticallyJon Ander Peñalba2010-11-301-31/+7
|
* Revert "Remove m_loadingGitPath from MainView"Jon Ander Peñalba2010-11-221-4/+4
| | | | | | This reverts commit eba8b17b2514c39897b035a1f5529f5b87a7b114. This commit wroke the favicon rendering.
* Revert "Make the invariants of MainView explicit"Jon Ander Peñalba2010-11-221-1/+2
| | | | | | This reverts commit bf94b5e71b1a7cedf2f69bb3cd61661bc21c24c3. This commit introduced a bug that stoped the new tab button from working.
* Merge branch 'master' of git://git.kde.org/rekonqBenjamin Poulain2010-11-201-9/+9
|\ | | | | | | | | | | | | | | Conflicts: src/mainview.cpp src/mainview.h src/webtab.cpp src/webtab.h
| * Print && Find actions for the parts :)Andrea Diamantini2010-11-191-4/+4
| | | | | | | | | | - handle print & find with different signals in mainwindow - show right tab title (moving titleChanged signal from view to tab)
| * API clean upAndrea Diamantini2010-11-191-5/+5
| | | | | | | | urlBar --> currentUrlBar
* | Remove the destructor of MainViewBenjamin Poulain2010-11-201-7/+0
| | | | | | | | | | | | | | | | The destructor of MainView was redundant with the cleaning mechanism of QObject. It is removed to simplify the class. Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* | Remove m_loadingGitPath from MainViewBenjamin Poulain2010-11-201-4/+4
| | | | | | | | | | | | | | | | | | | | The attribute m_loadingGitPath is an invariant of runtime, it is not specific to MainView objects. The path has been changed to a constant of the implementation. Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* | Make the invariants of MainView explicitBenjamin Poulain2010-11-201-2/+1
| | | | | | | | | | | | | | Enforce the invariant of MainView by making the pointer const. Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* | Update the name of MainView attribute to follow the conventionsBenjamin Poulain2010-11-201-10/+10
|/ | | | | Reviewed by: Pierre Rossi Reviewed by: Andrea Diamantini
* Revert "Fastest last tab recover"Andrea Diamantini2010-10-291-19/+1
| | | | | | | This reverts commit 8561c1b43a506ac4ead17734c20cc55ce7cec666. This implementation lets the last close page to continue load eg flash and in general can produce audio playback :(
* Fastest last tab recover :)Andrea Diamantini2010-10-251-1/+19
| | | | | In fact, the tab is not really deleted, but just saved somewhere to fastly restore it, having again history and so on..
* This commit fixes icons handling for "rekonq pages" (eg: about urls).Andrea Diamantini2010-10-211-2/+5
| | | | | | | | | | | It also contains a cleaned version of the WebTab::url() method (the previous one was not working on loading pages. And also immediately after the loadFinished signal) This should also fix some "bad" handling on back/forward buttons. Finally, it contains some unrelated QLatin1String --> QL1S changes. Benjamin, I spoke too early about those. I squashed merged my work and removed previous branch :(
* Fix icons duplication in the urlbar if a bookmark is added during a page loadingYoann Laissus2010-10-201-5/+1
|
* Clean up urlbar use. This fix an urlbar bug opening pluginsAndrea Diamantini2010-09-291-18/+14
| | | | | in next tabs and remove some Application::instance() calls from the Web* classes.
* Change the behavior of Ctrl+Maj+T to open only the last closed tabBenjamin Poulain2010-09-191-6/+6
| | | | | | | | | Previously, the action of Ctrl+Maj+T was opening all the closed tabs. This was differing from Firefox and Chrome, which can be confusing for users. This patch change the behavior to open only the last closed tab, making the behavior more like the other browsers.
* This commit aims to fix all troubles with favicons retrieving.Andrea Diamantini2010-09-111-0/+5
| | | | | There is at least just another one about threading. But I'm not 100% sure about. And anyway, it will be eventually addressed after 0.6 release..
* Include all .moc files removed in the previous commitJon Ander Peñalba2010-09-031-0/+1
|
* Include clean-up in the big src directoryJon Ander Peñalba2010-09-031-26/+21
|
* Switching to "KDE" icon cache. While this "brute force" change can be dangerous,Andrea Diamantini2010-08-281-3/+3
| | | | | | | | it seems let everything work as expected (at least here). It also lets us to retrieve icons when sites are not visited (eg: search engines or old bookmarks) It also contains fixes & improvements for icons management in History & Bookmarks classes. More code to maintain, but more things working.Let's see what'll happen...