kate Library API Documentation

listboxview.cpp

00001 /* This file is part of the KDE project 00002 Copyright (C) 2002 Anders Lund <anders.lund@lund.tdcadsl.dk> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License version 2 as published by the Free Software Foundation. 00007 00008 This library is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 Library General Public License for more details. 00012 00013 You should have received a copy of the GNU Library General Public License 00014 along with this library; see the file COPYING.LIB. If not, write to 00015 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00016 Boston, MA 02111-1307, USA. 00017 */ 00018 00019 #include "listboxview.h" 00020 #include "listboxview.moc" 00021 00022 #include <klistbox.h> 00023 00024 namespace Kate { 00025 00026 // private storage 00027 class ListboxViewPrivate { 00028 public: 00029 KListBox *listbox; 00030 }; 00031 00032 } 00033 00034 Kate::ListboxView::ListboxView( QWidget *parent, const char *name ) 00035 : Kate::DockViewBase( parent, name), 00036 d( new Kate::ListboxViewPrivate) 00037 { 00038 d->listbox = new KListBox( this ); 00039 } 00040 00041 Kate::ListboxView::ListboxView( const QString &titlePrefix, const QString &title, QWidget *parent, const char *name ) 00042 : Kate::DockViewBase( titlePrefix, title, parent, name), 00043 d( new Kate::ListboxViewPrivate) 00044 { 00045 d->listbox = new KListBox( this ); 00046 } 00047 00048 Kate::ListboxView::~ListboxView() 00049 { 00050 delete d; 00051 } 00052 00053 KListBox *Kate::ListboxView::listbox() 00054 { 00055 return d->listbox; 00056 } 00057
KDE Logo
This file is part of the documentation for kate Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 13 21:47:01 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003