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