Diffstat (limited to 'noncore/settings/networksettings/module.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/module.h | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/noncore/settings/networksettings/module.h b/noncore/settings/networksettings/module.h index db74394..f7d8046 100644 --- a/noncore/settings/networksettings/module.h +++ b/noncore/settings/networksettings/module.h @@ -20,3 +20,3 @@ signals: - + public: @@ -34,5 +34,5 @@ public: * @param newProfile what the profile should be changed to. - */ + */ virtual void setProfile(const QString &newProfile) = 0; - + /** @@ -40,4 +40,4 @@ public: * @param Interface* can be used in determining the icon. - * @return QString the icon name (minus .png, .gif etc) - */ + * @return QString the icon name (minus .png, .gif etc) + */ virtual QString getPixmapName(Interface *) = 0; @@ -50,3 +50,3 @@ public: virtual bool isOwner(Interface *){ return false; }; - + /** @@ -57,3 +57,3 @@ public: virtual QWidget *configure(Interface *){ return NULL; } ; - + /** @@ -64,3 +64,3 @@ public: virtual QWidget *information(Interface *){ return NULL; }; - + /** @@ -69,5 +69,5 @@ public: * been called by isOwner() - */ + */ virtual QList<Interface> getInterfaces() = 0; - + /** @@ -77,3 +77,3 @@ public: virtual void possibleNewInterfaces(QMap<QString, QString> &list) = 0; - + /** @@ -82,5 +82,5 @@ public: * @param name the type of interface to create - */ + */ virtual Interface *addNewInterface(const QString &name) = 0; - + /** @@ -92,3 +92,3 @@ public: /** - * get dcop calls + * get dcop calls */ @@ -96,2 +96,13 @@ public: + QStringList handledInterfaceNames()const { return m_inter; } +protected: + /** + * set which interfaceNames should not be shown cause they're handled + * internally of this module.. An already running ppp link or + * a tunnel... + */ + void setHandledInterfaceNames( const QStringList& in) { m_inter = in; } + +private: + QStringList m_inter; }; |