diff options
author | Slávek Banko <[email protected]> | 2013-07-27 16:34:45 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-27 16:34:45 +0200 |
commit | d76ff81b7c1beffef0b84e570914c8f2d47834e6 (patch) | |
tree | 284b80ce7c5456fbb041f7979ac2c0baeead8902 /src/configdialog.h | |
download | tork-d76ff81b7c1beffef0b84e570914c8f2d47834e6.tar.gz tork-d76ff81b7c1beffef0b84e570914c8f2d47834e6.zip |
Initial import of tork 0.33
Diffstat (limited to 'src/configdialog.h')
-rw-r--r-- | src/configdialog.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/src/configdialog.h b/src/configdialog.h new file mode 100644 index 0000000..7bb145e --- /dev/null +++ b/src/configdialog.h @@ -0,0 +1,70 @@ +/*************************************************************************** +* Copyright (C) 2006 - 2008 Robert Hogan * +* [email protected] * +begin : 2004/02/07 +copyright : (C) Mark Kretschmann +email : [email protected] +***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef TORKCONFIGDIALOG_H +#define TORKCONFIGDIALOG_H + + +#include <qmap.h> +#include <qvaluelist.h> +#include <kconfigdialog.h> + +class QComboBox; +class QGroupBox; +class QVBox; + +class TorkConfigDialog : public KConfigDialog +{ + Q_OBJECT + + public: + TorkConfigDialog( QWidget *parent, const char* name, KConfigSkeleton *config ); + ~TorkConfigDialog(); + + void addPage( QWidget *page, const QString &itemName, const QString &pixmapName, + const QString &header=QString::null, bool manage=true); + + void showPage( const QCString& page ); + class QuickConfig *m_quickconfig; + public slots: + void showServerOpts(bool state); + signals: + void updateServerButton( ); + private slots: + void updateCustomSettings(); + void enableApply(); + void showHidePages( const int &); + private: + class FirewallsProxies *m_firewallsproxies; + class FilterTable *m_filtertable; + class MaxMin *m_maxmin; + class Usability *m_usability; + class TorServers *m_torservers; + class Running *m_running; + class MyServer *m_myserver; + class MyHidden *m_myhidden; + class Konq *m_konq; + + QValueList<QWidget*> m_pageList; + QMap<QString, QString> m_pluginName; + QMap<QString, QString> m_pluginTorkName; + + QWidget* m_parent; +}; + + +#endif // TORKCONFIGDIALOG_H |