kate
listboxview.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "listboxview.h"
00020 #include "listboxview.moc"
00021
00022 #include <klistbox.h>
00023
00024 namespace Kate {
00025
00026
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