Eneboo - Documentación para desarrolladores
src/qt/tools/designer/plugins/cppeditor/cppcompletion.h
Ir a la documentación de este archivo.
00001 /**********************************************************************
00002 **
00003 ** Copyright (C) 2000-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 CPPCOMPLETION_H
00029 #define CPPCOMPLETION_H
00030 
00031 #include <completion.h>
00032 #include <qguardedptr.h>
00033 
00034 class CppEditorCompletion : public EditorCompletion
00035 {
00036     Q_OBJECT
00037 
00038 public:
00039     CppEditorCompletion( Editor *e );
00040 
00041 #if defined(Q_USING)
00042     using EditorCompletion::doObjectCompletion;
00043 #endif
00044     bool doObjectCompletion( const QString &object );
00045     QValueList<QStringList> functionParameters( const QString &func, QChar &, QString &prefix, QString &postfix );
00046     void setContext( QObject *this_ );
00047 
00048 private:
00049     QGuardedPtr<QObject> ths;
00050 
00051 };
00052 
00053 #endif
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'