summaryrefslogtreecommitdiff
path: root/noncore/styles/plugin.cpp
Side-by-side diff
Diffstat (limited to 'noncore/styles/plugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/plugin.cpp71
1 files changed, 0 insertions, 71 deletions
diff --git a/noncore/styles/plugin.cpp b/noncore/styles/plugin.cpp
deleted file mode 100644
index da2f371..0000000
--- a/noncore/styles/plugin.cpp
+++ b/dev/null
@@ -1,71 +0,0 @@
-/*
-               =. This file is part of the OPIE Project
-             .=l. Copyright (c) 2004 Holger Hans Peter Freyther <zecke@handhelds.org>
-           .>+-=
- _;:,     .>    :=|. This program is free software; you can
-.> <`_,   >  .   <= redistribute it and/or modify it under
-:`=1 )Y*s>-.--   : the terms of the GNU General Public
-.="- .-=="i,     .._ License as published by the Free Software
- - .   .-<_>     .<> Foundation; either version 2 of the License,
-     ._= =}       : or (at your option) any later version.
-    .%`+i>       _;_.
-    .i_,=:_.      -<s. This program is distributed in the hope that
-     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
-    : ..    .:,     . . . without even the implied warranty of
-    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
-  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
-..}^=.=       =       ; Library General Public License for more
-++=   -.     .`     .: details.
- :     =  ...= . :.=-
- -.   .:....=;==+<; You should have received a copy of the GNU
-  -_. . .   )=.  = General Public License along with
-    --        :-=` this library; see the file COPYING.
- If not, write to the Free Software Foundation,
- Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
-
-*/
-
-#include "plugin.h"
-
-#include "webstyle.h"
-
-#include <qapplication.h>
-
-WebStyleImpl::WebStyleImpl()
- : m_style( 0l )
-{}
-
-/* Qt will delete the style */
-WebStyleImpl::~WebStyleImpl()
-{}
-
-QRESULT WebStyleImpl::queryInterface( const QUuid& uuid, QUnknownInterface **iface ) {
- *iface = 0;
-
- if ( uuid == IID_QUnknown || uuid == IID_Style)
- *iface = this;
- else
- return QS_FALSE;
-
- (*iface)->addRef();
-
- return QS_OK;
-}
-
-QStyle* WebStyleImpl::style() {
- if (!m_style )
- m_style = new WebStyle();
- return m_style;
-}
-
-QString WebStyleImpl::name()const {
- return qApp->translate("WebStyle", "Web", "Name of the style Web");
-}
-
-
-Q_EXPORT_INTERFACE()
-{
- Q_CREATE_INSTANCE( WebStyleImpl )
-}
-