kopete/kopete
Go to the documentation of this file.
24 #ifndef KOPETE_CONTACTLISTVIEW_H
25 #define KOPETE_CONTACTLISTVIEW_H
31 #include <QStringList>
35 #include <QMouseEvent>
38 #include <kopete_export.h>
40 class KActionCollection;
45 class KopeteContactListViewPrivate;
67 void initActions( KActionCollection *ac );
70 int visibleContentHeight()
const;
72 virtual void keyboardSearch(
const QString &search );
76 void contactActivated(
const QModelIndex& index );
78 void showItemProperties();
79 void mergeMetaContact();
86 void addTemporaryContact();
87 void removeGroupOrMetaContact();
92 void visibleContentHeightChanged();
95 virtual void contextMenuEvent( QContextMenuEvent* event );
96 virtual void mouseReleaseEvent( QMouseEvent *event );
97 virtual void startDrag( Qt::DropActions supportedActions );
98 virtual void dragMoveEvent( QDragMoveEvent *event );
99 virtual void timerEvent( QTimerEvent *event );
100 virtual bool eventFilter(
QObject *
object, QEvent *event );
101 virtual bool viewportEvent( QEvent *event );
104 virtual void rowsInserted(
const QModelIndex &parent,
int start,
int end );
105 virtual void selectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected );
108 void reexpandGroups();
109 void itemExpanded(
const QModelIndex& index );
110 void itemCollapsed(
const QModelIndex& index );
112 void updateActions();
113 void updateMetaContactActions();
114 void slotSettingsChanged();
115 void addToAddContactMenu( Kopete::Account* account );
116 void removeToAddContactMenu(
const Kopete::Account *account );
121 Kopete::Group* groupFromIndex(
const QModelIndex& index )
const;
125 void miscPopup( QModelIndexList indexes,
const QPoint& pos );
126 Kopete::Contact* contactAt(
const QPoint& point )
const;
128 void setScrollAutoHide(
bool autoHide );
129 void setScrollHide(
bool hide );
131 int visibleContentHeight(
const QModelIndex& parent )
const;
133 KopeteContactListViewPrivate *d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:41 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.