blob: 3b6dd2e799377c3329f14e453ae7f7b3eb5a7b20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include <ntqstyleplugin.h>
#include <ntqcdestyle.h>
class CDEStyle : public TQStylePlugin
{
public:
CDEStyle();
TQStringList keys() const;
TQStyle *create( const TQString& );
};
CDEStyle::CDEStyle()
: TQStylePlugin()
{
}
TQStringList CDEStyle::keys() const
{
TQStringList list;
list << "CDE";
return list;
}
TQStyle* CDEStyle::create( const TQString& s )
{
if ( s.lower() == "cde" )
return new TQCDEStyle();
return 0;
}
TQ_EXPORT_PLUGIN( CDEStyle )
|