-rw-r--r-- | microkde/kdeui/kjanuswidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/microkde/kdeui/kjanuswidget.cpp b/microkde/kdeui/kjanuswidget.cpp index 7d25854..462c44f 100644 --- a/microkde/kdeui/kjanuswidget.cpp +++ b/microkde/kdeui/kjanuswidget.cpp @@ -21,25 +21,25 @@ #include <qpixmap.h> #include <qbitmap.h> #include <qlayout.h> #include <qlabel.h> #include <qwidgetstack.h> #include <qtabwidget.h> #include <qlistview.h> #include <qhbox.h> #include <qvbox.h> #include <qgrid.h> #include <qpainter.h> #include <qobjectlist.h> - +#include <qstringlist.h> /*US #include <qbitmap.h> #include <qgrid.h> #include <qhbox.h> #include <qheader.h> #include <qlabel.h> #include <qlayout.h> #include <qobjectlist.h> #include <qpixmap.h> #include <qsplitter.h> #include <qtabwidget.h> #include <qvbox.h> @@ -287,24 +287,25 @@ void KJanusWidget::pageGone( QObject *obj ) removePage( static_cast<QWidget*>( obj ) ); } void KJanusWidget::slotReopen( QListViewItem * item ) { if( item ) item->setOpen( true ); } QFrame *KJanusWidget::addPage( const QString &itemName, const QString &header, const QPixmap &pixmap ) { + QStringList items; items << itemName; return addPage(items, header, pixmap); } QVBox *KJanusWidget::addVBoxPage( const QStringList &items, const QString &header, const QPixmap &pixmap ) { if( mValid == false ) |