Hello all,
I'd like to make a abstract base class with one pure virtual function. Let's say it looks like this:
I'd like to inheirit this, making a class that (of course) implements its own update(). But, I'd like to haveQt Code:
{ public: virtual ~BuddyBase(); public:To copy to clipboard, switch view to plain text mode
update(double*), or, in some other case update(QVector), for instance.
How can I do it?
Do I have to declare
virtual void update(class <T>)=0;
or something?
Will this be ok with the inheiritance of QWidget?
thanks
Kev
Bookmarks