|
|
|
@ -59,19 +59,19 @@ The implementation would looks something like this:
|
|
|
|
|
class Browser {
|
|
|
|
|
public:
|
|
|
|
|
Browser( BrowserShared* );
|
|
|
|
|
virtual QWidget* widget( QWidget* parent );
|
|
|
|
|
virtual TQWidget* widget( TQWidget* parent );
|
|
|
|
|
KURL::List images();
|
|
|
|
|
|
|
|
|
|
// all the other stuff to make a shared class.
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void descriptionChanged( const QString& );
|
|
|
|
|
void descriptionChanged( const TQString& );
|
|
|
|
|
void previewChanged( const QPixmap& );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class BrowserShared {
|
|
|
|
|
public:
|
|
|
|
|
virtual QWidget* widget( QWidget* parent ) = 0;
|
|
|
|
|
virtual TQWidget* widget( TQWidget* parent ) = 0;
|
|
|
|
|
KURL::List images() = 0;
|
|
|
|
|
signals:
|
|
|
|
|
...
|
|
|
|
|