[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Openparts and "virtual"
From: <dsweet () chaos ! umd ! edu>
Date: 1999-07-03 1:11:44
[Download RAW message or body]
I have two (possibly related) questions:
1) What does "virtual" mean when you subclass like this:
class MyClass : virtual public TheirClass { ...
2) When I try to compile a test program which embeds an
OPPart in a MainWindow I get (I've made a stripped-down example
for myself from the code in embed2):
myopapp.cpp:59: cannot allocate an object of type
`::MyModule::MyPart'
myopapp.cpp:59: since the following virtual
functions are abstract:
myopapp.cpp:59: void ::KOM::Base::connect(const
char *, class ::KOM::Base *, const char *)
myopapp.cpp:59: void ::KOM::Base::disconnect(const char *, class
::KOM::Base *, const char *)
and the list goes on and on.
Thanks for the help so far and TIA for more!
Dave
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic