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.
35 lines
508 B
35 lines
508 B
13 years ago
|
#include <qstyleplugin.h>
|
||
|
#include <qmotifstyle.h>
|
||
|
|
||
|
class MotifStyle : public TQStylePlugin
|
||
|
{
|
||
|
public:
|
||
|
MotifStyle();
|
||
|
|
||
|
TQStringList keys() const;
|
||
|
TQStyle *create( const TQString& );
|
||
|
};
|
||
|
|
||
|
MotifStyle::MotifStyle()
|
||
|
: TQStylePlugin()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
TQStringList MotifStyle::keys() const
|
||
|
{
|
||
|
TQStringList list;
|
||
|
list << "Motif";
|
||
|
return list;
|
||
|
}
|
||
|
|
||
|
TQStyle* MotifStyle::create( const TQString& s )
|
||
|
{
|
||
|
if ( s.lower() == "motif" )
|
||
|
return new TQMotifStyle();
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
Q_EXPORT_PLUGIN( MotifStyle )
|
||
|
|