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:
parent
7ca0e81184
commit
89240d4692
|
@ -16,13 +16,12 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* ============================================================ */
|
* ============================================================ */
|
||||||
#include "locationpopup.h"
|
#include "locationpopup.h"
|
||||||
#if 0
|
|
||||||
LocationPopup::LocationPopup(QWidget *parent)
|
LocationPopup::LocationPopup(QWidget *parent)
|
||||||
:QAbstractItemView()
|
:QAbstractItemView()
|
||||||
,m_parent(parent)
|
,m_parent(parent)
|
||||||
{
|
{
|
||||||
setWindowFlags(Qt::Popup);
|
setWindowFlags(Qt::Popup);
|
||||||
}r
|
}
|
||||||
|
|
||||||
void LocationPopup::show()
|
void LocationPopup::show()
|
||||||
{
|
{
|
||||||
|
@ -32,6 +31,7 @@ void LocationPopup::show()
|
||||||
QAbstractItemView::show();
|
QAbstractItemView::show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
QRect LocationPopup::visualRect(const QModelIndex &index) const
|
QRect LocationPopup::visualRect(const QModelIndex &index) const
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* ============================================================ */
|
* ============================================================ */
|
||||||
#ifndef LOCATIONPOPUP_H
|
#ifndef LOCATIONPOPUP_H
|
||||||
#define LOCATIONPOPUP_H
|
#define LOCATIONPOPUP_H
|
||||||
#if 0
|
|
||||||
#include <QAbstractItemView>
|
#include <QAbstractItemView>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ signals:
|
||||||
public slots:
|
public slots:
|
||||||
void show();
|
void show();
|
||||||
private:
|
private:
|
||||||
|
#if 0
|
||||||
QRect visualRect(const QModelIndex &index) const;
|
QRect visualRect(const QModelIndex &index) const;
|
||||||
void scrollTo(const QModelIndex &index, ScrollHint hint);
|
void scrollTo(const QModelIndex &index, ScrollHint hint);
|
||||||
QModelIndex indexAt(const QPoint &point) const;
|
QModelIndex indexAt(const QPoint &point) const;
|
||||||
|
@ -41,9 +42,8 @@ private:
|
||||||
bool isIndexHidden(const QModelIndex &index) const;
|
bool isIndexHidden(const QModelIndex &index) const;
|
||||||
void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command);
|
void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags command);
|
||||||
QRegion visualRegionForSelection(const QItemSelection &selection) const;
|
QRegion visualRegionForSelection(const QItemSelection &selection) const;
|
||||||
|
#endif
|
||||||
QWidget* m_parent;
|
QWidget* m_parent;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LOCATIONPOPUP_H
|
#endif // LOCATIONPOPUP_H
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user