• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KFile

kdiroperatordetailview_p.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (C) 2007 by Peter Penz <peter.penz@gmx.at>                      *
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., 51 Franklin Street, Fifth Floor,      *
00016  * Boston, MA 02110-1301, USA.                                               *
00017  *****************************************************************************/
00018 
00019 #ifndef KDIROPERATORDETAILVIEW_P_H
00020 #define KDIROPERATORDETAILVIEW_P_H
00021 
00022 #include <QtGui/QTreeView>
00023 
00024 #include <kfile.h>
00025 
00026 class QAbstractItemModel;
00027 
00032 class KDirOperatorDetailView : public QTreeView
00033 {
00034     Q_OBJECT
00035 
00036 public:
00037     KDirOperatorDetailView(QWidget *parent = 0);
00038     virtual ~KDirOperatorDetailView();
00039     virtual void setModel(QAbstractItemModel *model);
00040 
00044     virtual bool setViewMode(KFile::FileView viewMode);
00045 
00046 protected:
00047     virtual bool event(QEvent *event);
00048     virtual void dragEnterEvent(QDragEnterEvent *event);
00049     virtual void resizeEvent(QResizeEvent *event);
00050     virtual void mousePressEvent(QMouseEvent *event);
00051     virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
00052 
00053 private slots:
00054     void resetResizing();
00055     void disableColumnResizing();
00056     void slotLayoutChanged();
00057 
00058 private:
00059     bool m_resizeColumns;
00060     bool m_hideDetailColumns;
00061 };
00062 
00063 #endif

KFile

Skip menu "KFile"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal