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
543 B
36 lines
543 B
#include <qstyleplugin.h>
|
|
#include <qmotifplusstyle.h>
|
|
|
|
class MotifPlusStyle : public QStylePlugin
|
|
{
|
|
public:
|
|
MotifPlusStyle();
|
|
|
|
QStringList keys() const;
|
|
QStyle *create( const QString& );
|
|
|
|
};
|
|
|
|
MotifPlusStyle::MotifPlusStyle()
|
|
: QStylePlugin()
|
|
{
|
|
}
|
|
|
|
QStringList MotifPlusStyle::keys() const
|
|
{
|
|
QStringList list;
|
|
list << "MotifPlus";
|
|
return list;
|
|
}
|
|
|
|
QStyle* MotifPlusStyle::create( const QString& s )
|
|
{
|
|
if ( s.lower() == "motifplus" )
|
|
return new QMotifPlusStyle();
|
|
|
|
return 0;
|
|
}
|
|
|
|
Q_EXPORT_PLUGIN( MotifPlusStyle )
|
|
|