editors/qeditor/simple_indent.h
Go to the documentation of this file.00001 /********************************************************************** 00002 ** Copyright (C) 2000 Trolltech AS. All rights reserved. 00003 ** 00004 ** This file is part of Qt Designer. 00005 ** 00006 ** This file may be distributed and/or modified under the terms of the 00007 ** GNU General Public License version 2 as published by the Free Software 00008 ** Foundation and appearing in the file COPYING included in the 00009 ** packaging of this file. 00010 ** 00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 ** 00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00015 ** 00016 ** Contact info@trolltech.com if any conditions of this licensing are 00017 ** not clear to you. 00018 ** 00019 **********************************************************************/ 00020 00021 00022 /* $Id: simple_indent.h,v 1.9 2002/12/19 22:02:39 raggi Exp $ 00023 * 00024 * This file is part of Klint 00025 * Copyright (C) 2001 Roberto Raggi (roberto@kdevelop.org) 00026 * 00027 * This program is free software; you can redistribute it and/or 00028 * modify it under the terms of the GNU General Public 00029 * License as published by the Free Software Foundation; either 00030 * version 2 of the License, or (at your option) any later version. 00031 * 00032 * This program is distributed in the hope that it will be useful, 00033 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00034 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00035 * General Public License for more details. 00036 * 00037 * You should have received a copy of the GNU General Public License 00038 * along with this program; see the file COPYING. If not, write to 00039 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00040 * Boston, MA 02111-1307, USA. 00041 * 00042 */ 00043 00044 #ifndef simple_indent_h 00045 #define simple_indent_h 00046 00047 #include "qeditor_indenter.h" 00048 00049 class QEditor; 00050 00051 class SimpleIndent: public QEditorIndenter{ 00052 public: 00053 SimpleIndent( QEditor* ); 00054 virtual ~SimpleIndent(); 00055 00056 virtual int indentForLine( int line ); 00057 }; 00058 00059 #endif