~ubuntu-branches/ubuntu/precise/networkmanagement/precise

« back to all changes in this revision

Viewing changes to applet/activatableitem.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-23 14:00:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20111023140013-e38hdzybcg6zndrk
Tags: 0.9~svngit.nm09.20111023.ff842e-0ubuntu1
* New upstream snapshot.
* Drop all patches, merged upstream.
* Add kubuntu_add_subdirectory_po.diff to build the translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "remoteinterfaceconnection.h"
28
28
 
29
29
class RemoteActivatable;
 
30
extern int rowHeight;
 
31
extern int maxConnectionNameWidth;
30
32
 
31
33
class ActivatableItem : public Plasma::IconWidget
32
34
{
47
49
    void clicked(ActivatableItem *);
48
50
    void hasDefaultRouteChanged(bool);
49
51
    void disappearAnimationFinished();
 
52
    void showInterfaceDetails(QString);
50
53
 
51
54
protected Q_SLOTS:
52
55
    void emitClicked();
53
56
    void handleHasDefaultRouteChanged(bool);
54
57
    virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
55
 
    void activationStateChanged(Knm::InterfaceConnection::ActivationState state);
 
58
    void activationStateChanged(Knm::InterfaceConnection::ActivationState oldState, Knm::InterfaceConnection::ActivationState newState);
56
59
 
57
60
protected:
58
61
    RemoteActivatable *m_activatable;
59
62
    bool m_hasDefaultRoute;
60
63
    Knm::InterfaceConnection::ActivationState m_state;
61
64
    bool m_deleting;
62
 
    int rowHeight;
63
65
    int spacing;
 
66
    Plasma::IconWidget* m_connectButton;
64
67
};
65
68
 
66
69
#endif // ABSTRACTCONNECTABLEITEM_H