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
492 B
34 lines
492 B
13 years ago
|
#include <qstyleplugin.h>
|
||
|
#include <qsgistyle.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 )
|