You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
496 B
34 lines
496 B
#include <ntqstyleplugin.h>
|
|
#include <ntqsgistyle.h>
|
|
|
|
class SGIStyle : public TQStylePlugin
|
|
{
|
|
public:
|
|
SGIStyle();
|
|
|
|
TQStringList keys() const;
|
|
TQStyle *create( const TQString& );
|
|
};
|
|
|
|
SGIStyle::SGIStyle()
|
|
: TQStylePlugin()
|
|
{
|
|
}
|
|
|
|
TQStringList SGIStyle::keys() const
|
|
{
|
|
TQStringList list;
|
|
list << "SGI";
|
|
return list;
|
|
}
|
|
|
|
TQStyle* SGIStyle::create( const TQString& s )
|
|
{
|
|
if ( s.lower() == "sgi" )
|
|
return new TQSGIStyle();
|
|
|
|
return 0;
|
|
}
|
|
|
|
Q_EXPORT_PLUGIN( SGIStyle )
|