Hello all,

I'd like to make a abstract base class with one pure virtual function. Let's say it looks like this:
Qt Code:
  1. class BuddyBase : public QWidget
  2. {
  3. public:
  4. BuddyBase(QWidget* parent = 0);
  5. virtual ~BuddyBase();
  6. public:
  7. virtual void update (QString text) = 0;
To copy to clipboard, switch view to plain text mode 
I'd like to inheirit this, making a class that (of course) implements its own update(). But, I'd like to have
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