author | ulf69 <ulf69> | 2004-10-22 03:17:57 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-22 03:17:57 (UTC) |
commit | d7ca0e5ca1346116145209b49ae62abeefebdb5f (patch) (side-by-side diff) | |
tree | 29080282472aa29ebe3a8ebd4e47837e18e0b51b | |
parent | e81c11b59475d934608c7253d2862933d497d1f8 (diff) | |
download | kdepimpi-d7ca0e5ca1346116145209b49ae62abeefebdb5f.zip kdepimpi-d7ca0e5ca1346116145209b49ae62abeefebdb5f.tar.gz kdepimpi-d7ca0e5ca1346116145209b49ae62abeefebdb5f.tar.bz2 |
added include statement to make it buildable on all systems
-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 @@ -9,49 +9,49 @@ * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; see the file COPYING.LIB. If not, write to * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #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> #include <qwidgetstack.h> #include <qpainter.h> #include <qstyle.h> #include <kapplication.h> #include <klocale.h> #include <kglobal.h> #include <kglobalsettings.h> #include <kseparator.h> #include <kdebug.h> #include "kjanuswidget.h" #include <klistview.h> @@ -275,48 +275,49 @@ QFrame *KJanusWidget::addPage( const QStringList &items, const QString &header, return( 0 ); } QFrame *page = new QFrame( FindParent(), "page" ); addPageWidget( page, items, header, pixmap ); return page; } void KJanusWidget::pageGone( QObject *obj ) { // QObject* obj = (QObject*)sender(); 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 ) { qDebug("addPage: Invalid object "); return( 0 ); } QVBox *page = new QVBox(FindParent() , "vbox_page" ); page->setSpacing( KDialog::spacingHintSmall() ); addPageWidget( page, items, header, pixmap ); return page; } |