1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Disabling locationpopup for 0.9.6 release

This commit is contained in:
nowrep 2011-03-04 15:14:57 +01:00
parent 7ca0e81184
commit 89240d4692
2 changed files with 5 additions and 5 deletions

View File

@ -16,13 +16,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */
#include "locationpopup.h"
#if 0
LocationPopup::LocationPopup(QWidget *parent)
:QAbstractItemView()
,m_parent(parent)
{
setWindowFlags(Qt::Popup);
}r
}
void LocationPopup::show()
{
@ -32,6 +31,7 @@ void LocationPopup::show()
QAbstractItemView::show();
}
#if 0
QRect LocationPopup::visualRect(const QModelIndex &index) const
{

View File

@ -17,7 +17,7 @@
* ============================================================ */
#ifndef LOCATIONPOPUP_H
#define LOCATIONPOPUP_H
#if 0
#include <QAbstractItemView>
#include <QDebug>
@ -32,6 +32,7 @@ signals:
public slots:
void show();
private:
#if 0
QRect visualRect(const QModelIndex &index) const;
void scrollTo(const QModelIndex &index, ScrollHint hint);
QModelIndex indexAt(const QPoint &point) const;
@ -41,9 +42,8 @@ private:
bool isIndexHidden(const QModelIndex &index) const;
void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command);
QRegion visualRegionForSelection(const QItemSelection &selection) const;
#endif
QWidget* m_parent;
};
#endif // LOCATIONPOPUP_H
#endif