aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/HelpWindow.h
diff options
context:
space:
mode:
authorGravatar Alexey Sokolov2016-04-29 23:57:30 +0100
committerGravatar Alexey Sokolov2016-04-29 23:57:48 +0100
commit690dd7a33ddc90678367d73adf313533536e10f2 (patch)
tree2276fe7c384ebbc222b40a19c536d5c3c5606ce8 /src/modules/help/HelpWindow.h
parentAdd config for clang-format. (diff)
downloadKVIrc-690dd7a33ddc90678367d73adf313533536e10f2.tar.gz
KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.tar.bz2
KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.zip
Apply clang-format
Diffstat (limited to 'src/modules/help/HelpWindow.h')
-rw-r--r--src/modules/help/HelpWindow.h55
1 files changed, 29 insertions, 26 deletions
diff --git a/src/modules/help/HelpWindow.h b/src/modules/help/HelpWindow.h
index 0c4d5f831..1447d15dc 100644
--- a/src/modules/help/HelpWindow.h
+++ b/src/modules/help/HelpWindow.h
@@ -32,9 +32,9 @@
#include <QTabWidget>
#ifdef COMPILE_WEBKIT_SUPPORT
- #include <QtWebKitWidgets/QWebView>
+#include <QtWebKitWidgets/QWebView>
#else
- class QTextBrowser;
+class QTextBrowser;
#endif
#include <QLineEdit>
@@ -50,48 +50,51 @@ class HelpWindow : public KviWindow
public:
HelpWindow(const char * name);
~HelpWindow();
+
protected:
HelpWidget * m_pHelpWidget;
- KviTalVBox * m_pToolBar;
- QTabWidget * m_pTabWidget;
- KviTalVBox * m_pIndexTab;
- KviTalVBox * m_pSearchTab;
- KviTalHBox * m_pBottomLayout;
- QPushButton * m_pCancelButton;
- QProgressBar * m_pProgressBar;
+ KviTalVBox * m_pToolBar;
+ QTabWidget * m_pTabWidget;
+ KviTalVBox * m_pIndexTab;
+ KviTalVBox * m_pSearchTab;
+ KviTalHBox * m_pBottomLayout;
+ QPushButton * m_pCancelButton;
+ QProgressBar * m_pProgressBar;
+
+ KviTalListWidget * m_pIndexListWidget;
+ QLineEdit * m_pIndexSearch;
+ QStringList m_foundDocs;
+ QStringList m_terms;
+ KviTalListWidget * m_pResultBox;
+ QLineEdit * m_pTermsEdit;
+ QPushButton * m_pBtnRefreshIndex;
- KviTalListWidget* m_pIndexListWidget;
- QLineEdit * m_pIndexSearch;
- QStringList m_foundDocs;
- QStringList m_terms;
- KviTalListWidget* m_pResultBox;
- QLineEdit * m_pTermsEdit;
- QPushButton * m_pBtnRefreshIndex;
public:
- HelpWidget * helpWidget(){ return m_pHelpWidget; };
+ HelpWidget * helpWidget() { return m_pHelpWidget; };
protected:
virtual QPixmap * myIconPtr();
virtual void fillCaptionBuffers();
- virtual void resizeEvent(QResizeEvent *e);
+ virtual void resizeEvent(QResizeEvent * e);
virtual void saveProperties(KviConfigurationFile * cfg);
virtual void loadProperties(KviConfigurationFile * cfg);
+
public:
- #ifdef COMPILE_WEBKIT_SUPPORT
+#ifdef COMPILE_WEBKIT_SUPPORT
QWebView * textBrowser();
- #else
+#else
QTextBrowser * textBrowser();
- #endif
+#endif
public slots:
- void indexSelected ( QListWidgetItem * );
- void searchInIndex( const QString &s );
+ void indexSelected(QListWidgetItem *);
+ void searchInIndex(const QString & s);
void showIndexTopic();
void startSearch();
- void searchSelected ( QListWidgetItem * );
+ void searchSelected(QListWidgetItem *);
void refreshIndex();
void initialSetup();
- void indexingStart( int iNum );
- void indexingProgress( int iNum );
+ void indexingStart(int iNum);
+ void indexingProgress(int iNum);
void indexingEnd();
};