diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-09-19 23:22:13 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | e315ff15daf26cbc70b6f2da50e6ca18081fc7c4 (patch) | |
tree | 6da0556f2c5c7efb13d8e8b03ba0092e7a5838d3 /src/tabwindow/rekonqwindow.h | |
parent | Implement RekonqWindow (diff) | |
download | rekonq-e315ff15daf26cbc70b6f2da50e6ca18081fc7c4.tar.xz |
Integrated spell checking for rekonq2 (lindsay's work imported)
- inline spell highlighter. This requires WebKit 2.3 to work.
- Addition of a suggested replacement word list to the context menu,
for the word right clicked on
- A standard modeless spell check dialog that works on the current
editable text (or selection).
Heavily cribbed from Dawit's work on kdewebkitpart.
oops... also a codingstyle script round here... :)
Diffstat (limited to 'src/tabwindow/rekonqwindow.h')
-rw-r--r-- | src/tabwindow/rekonqwindow.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/tabwindow/rekonqwindow.h b/src/tabwindow/rekonqwindow.h index b3f2f698..c7fe80d1 100644 --- a/src/tabwindow/rekonqwindow.h +++ b/src/tabwindow/rekonqwindow.h @@ -52,11 +52,11 @@ class RekonqWindow : public KTabWidget { friend class KRWSessionManager; - + Q_OBJECT public: - explicit RekonqWindow( QWidget* parent = 0 ); + explicit RekonqWindow(QWidget* parent = 0); virtual ~RekonqWindow(); @@ -70,16 +70,16 @@ public: * else @p false. * @see restore() **/ - static bool canBeRestored( int number ); + static bool canBeRestored(int number); /** * Try to restore the toplevel widget as defined by @p number (1..X). * * You should call canBeRestored() first. - * + * **/ - bool restore( int number, bool show = true ); - + bool restore(int number, bool show = true); + protected: /** * Save your instance-specific properties. The function is @@ -92,33 +92,33 @@ protected: * in this function! * */ - virtual void saveProperties( KConfigGroup & ) {} + virtual void saveProperties(KConfigGroup &) {} /** * Read your instance-specific properties. * * Is called indirectly by restore(). */ - virtual void readProperties( const KConfigGroup & ) {} + virtual void readProperties(const KConfigGroup &) {} - void savePropertiesInternal( KConfig*, int ); - bool readPropertiesInternal( KConfig*, int ); + void savePropertiesInternal(KConfig*, int); + bool readPropertiesInternal(KConfig*, int); /** * For inherited classes */ - void saveWindowSize( const KConfigGroup &config ) const; + void saveWindowSize(const KConfigGroup &config) const; /** * For inherited classes * Note that a -geometry on the command line has priority. */ - void restoreWindowSize( const KConfigGroup & config ); + void restoreWindowSize(const KConfigGroup & config); /// parse the geometry from the geometry command line argument void parseGeometry(); virtual void resizeEvent(QResizeEvent *); - + private Q_SLOTS: void saveAutoSaveSettings(); |