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.
36 lines
553 B
36 lines
553 B
13 years ago
|
#include <qstyleplugin.h>
|
||
|
#include <qmotifplusstyle.h>
|
||
|
|
||
|
class MotifPlusStyle : public TQStylePlugin
|
||
|
{
|
||
|
public:
|
||
|
MotifPlusStyle();
|
||
|
|
||
|
TQStringList keys() const;
|
||
|
TQStyle *create( const TQString& );
|
||
|
|
||
|
};
|
||
|
|
||
|
MotifPlusStyle::MotifPlusStyle()
|
||
|
: TQStylePlugin()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
TQStringList MotifPlusStyle::keys() const
|
||
|
{
|
||
|
TQStringList list;
|
||
|
list << "MotifPlus";
|
||
|
return list;
|
||
|
}
|
||
|
|
||
|
TQStyle* MotifPlusStyle::create( const TQString& s )
|
||
|
{
|
||
|
if ( s.lower() == "motifplus" )
|
||
|
return new TQMotifPlusStyle();
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
Q_EXPORT_PLUGIN( MotifPlusStyle )
|
||
|
|