File indexing completed on 2024-05-05 05:00:08
0001 /* "Misc Options" Tab for KFM configuration 0002 0003 SPDX-FileCopyrightText: 1998 Sven Radej 0004 SPDX-FileCopyrightText: 1998 David Faure 0005 0006 */ 0007 0008 #ifndef HTMLOPTS_H 0009 #define HTMLOPTS_H 0010 0011 #include <QCheckBox> 0012 0013 //----------------------------------------------------------------------------- 0014 // The "Misc Options" Tab for the HTML view contains : 0015 0016 // Change cursor over links 0017 // Underline links 0018 // AutoLoad Images 0019 // ... there is room for others :)) 0020 0021 #include <kcmodule.h> 0022 #include <ksharedconfig.h> 0023 class QSpinBox; 0024 class QGroupBox; 0025 0026 class KMiscHTMLOptions : public KCModule 0027 { 0028 Q_OBJECT 0029 0030 public: 0031 //TODO KF6: when dropping compatibility with KF5, remove QVariantList argument 0032 KMiscHTMLOptions(QObject *parent, const KPluginMetaData &md={}, const QVariantList &args={}); 0033 ~KMiscHTMLOptions() override; 0034 void load() override; 0035 void save() override; 0036 void defaults() override; 0037 0038 private: 0039 KSharedConfig::Ptr m_pConfig; 0040 QString m_groupname; 0041 0042 QCheckBox *m_cbCursor; 0043 QCheckBox *m_pAutoRedirectCheckBox; 0044 QCheckBox *m_pOpenMiddleClick; 0045 QCheckBox *m_pBackRightClick; 0046 QGroupBox *m_pFormCompletionCheckBox; 0047 QCheckBox *m_pAdvancedAddBookmarkCheckBox; 0048 QCheckBox *m_pOnlyMarkedBookmarksCheckBox; 0049 QCheckBox *m_pAccessKeys; 0050 QCheckBox *m_pDoNotTrack; 0051 QCheckBox *m_pOfferToSaveWebsitePassword; 0052 QSpinBox *m_pMaxFormCompletionItems; 0053 QCheckBox *m_pdfViewer; 0054 }; 0055 0056 #endif // HTMLOPTS_H