summaryrefslogtreecommitdiff
path: root/noncore/styles/metal/plugin.cpp
authorsandman <sandman>2002-10-04 01:42:57 (UTC)
committer sandman <sandman>2002-10-04 01:42:57 (UTC)
commit4a6ccb87f45065bc37f801adb61c3462f870cb92 (patch) (unidiff)
tree86b6819ee7a13b8df82b14b2bdcf46741b5935a0 /noncore/styles/metal/plugin.cpp
parentb7ec6d0674f0f7835da7f114683dcfa74e6bc546 (diff)
downloadopie-4a6ccb87f45065bc37f801adb61c3462f870cb92.zip
opie-4a6ccb87f45065bc37f801adb61c3462f870cb92.tar.gz
opie-4a6ccb87f45065bc37f801adb61c3462f870cb92.tar.bz2
- ported all OPIE styles to the new Qtopia compatible style interface
- some cleanup in liquid (unused code)
Diffstat (limited to 'noncore/styles/metal/plugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/metal/plugin.cpp22
1 files changed, 5 insertions, 17 deletions
diff --git a/noncore/styles/metal/plugin.cpp b/noncore/styles/metal/plugin.cpp
index 1db4aac..4c9f64d 100644
--- a/noncore/styles/metal/plugin.cpp
+++ b/noncore/styles/metal/plugin.cpp
@@ -1,3 +1,5 @@
1#include <qapplication.h>
2
1#include "metal.h" 3#include "metal.h"
2#include "plugin.h" 4#include "plugin.h"
3 5
@@ -10,30 +12,16 @@ MetalInterface::~MetalInterface ( )
10{ 12{
11} 13}
12 14
13QStyle *MetalInterface::create ( ) 15QStyle *MetalInterface::style ( )
14{ 16{
15 return new MetalStyle ( ); 17 return new MetalStyle ( );
16} 18}
17 19
18QString MetalInterface::name ( ) 20QString MetalInterface::name ( ) const
19{ 21{
20 return QObject::tr( "Metal", "name" ); 22 return qApp-> translate ( "Styles", "Metal" );
21} 23}
22 24
23QString MetalInterface::description ( )
24{
25 return QObject::tr( "Metal style", "description" );
26}
27
28QCString MetalInterface::key ( )
29{
30 return QCString ( "metal" );
31}
32
33unsigned int MetalInterface::version ( )
34{
35 return 100; // 1.0.0 (\d+.\d.\d)
36}
37 25
38QRESULT MetalInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) 26QRESULT MetalInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **iface )
39{ 27{