flagobj.h
branchqt4-port
changeset 5 5cfbba1dc2f8
parent 2 608f976aa7bb
     1.1 --- a/flagobj.h	Tue Jun 06 14:58:11 2006 +0000
     1.2 +++ b/flagobj.h	Wed Jun 14 10:28:01 2006 +0000
     1.3 @@ -30,14 +30,13 @@
     1.4  	const QString getGroup();
     1.5  	void setToolTip(const QString&);
     1.6  	const QString getToolTip();
     1.7 -	void setButton (QAction*);
     1.8 -	void updateButton ();
     1.9  	QPixmap getPixmap();
    1.10 +	void setAction(QAction*);
    1.11 +	void updateAction ();
    1.12  	bool isActive();
    1.13  	void toggle();
    1.14  	void activate();
    1.15  	void deactivate();
    1.16 -	void setEnabled (bool);
    1.17  	void setUsed (bool);
    1.18  	bool isUsed();
    1.19  	void saveToDir (const QString&, const QString&);
    1.20 @@ -52,7 +51,7 @@
    1.21      virtual void calcBBoxSize();
    1.22  private:
    1.23  	ImageObj* icon;
    1.24 -	QAction* button;
    1.25 +	QAction* action;
    1.26  };
    1.27  
    1.28  #endif