Eneboo - Documentación para desarrolladores
src/qt/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.h
Ir a la documentación de este archivo.
00001 /**********************************************************************
00002 **
00003 ** Copyright (C) 2005-2007 Trolltech ASA.  All rights reserved.
00004 **
00005 ** This file is part of Qt Designer.
00006 **
00007 ** This file may be distributed and/or modified under the terms of the
00008 ** GNU General Public License version 2 as published by the Free Software
00009 ** Foundation and appearing in the file LICENSE.GPL included in the
00010 ** packaging of this file.
00011 **
00012 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
00013 ** licenses may use this file in accordance with the Qt Commercial License
00014 ** Agreement provided with the Software.
00015 **
00016 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00017 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00018 **
00019 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00020 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00021 **   information about Qt Commercial License Agreements.
00022 **
00023 ** Contact info@trolltech.com if any conditions of this licensing are
00024 ** not clear to you.
00025 **
00026 **********************************************************************/
00027 
00028 #ifndef PREFERENCEINTERFACEIMPL_H
00029 #define PREFERENCEINTERFACEIMPL_H
00030 
00031 #include <preferenceinterface.h>
00032 class QWidget;
00033 
00034 class PreferenceInterfaceImpl : public PreferenceInterface
00035 {
00036 public:
00037     PreferenceInterfaceImpl( QUnknownInterface *outer = 0 );
00038     virtual ~PreferenceInterfaceImpl();
00039 
00040     ulong addRef();
00041     ulong release();
00042 
00043     QRESULT queryInterface( const QUuid&, QUnknownInterface** );
00044 
00045     Preference *preference();
00046     void connectTo( QUnknownInterface * ) {}
00047     void deletePreferenceObject( Preference * );
00048 
00049 private:
00050     QUnknownInterface *parent;
00051     int ref;
00052     QWidget *cppEditorSyntax;
00053 
00054 };
00055 
00056 #endif
00057 
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'