kig
objectchooserpopup.cc
Go to the documentation of this file.
96 ? QString::fromLatin1( "%1 %2" ).arg( mobjs[i]->imp()->type()->translatedName() ).arg( mobjs[i]->name() )
101 connect( this, SIGNAL( triggered( QAction* ) ), this, SLOT( actionActivatedSlot( QAction* ) ) );
QVariant data() const
static int getObjectFromList(const QPoint &p, KigWidget *w, const std::vector< ObjectHolder * > &objs, bool givepopup=true)
Get the index of the chosen object from a list of objects.
Definition: objectchooserpopup.cc:26
int toInt(bool *ok) const
void actionActivatedSlot(QAction *)
Definition: objectchooserpopup.cc:108
This class is useful to choose one object from a list of some, by querying the user via popup menu...
Definition: objectchooserpopup.h:35
void setData(const QVariant &userData)
QVariant fromValue(const T &value)
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
QPoint pos()
QString fromLatin1(const char *str, int size)
ObjectChooserPopup(const QPoint &p, KigWidget &view, const std::vector< ObjectHolder * > &objs)
Definition: objectchooserpopup.cc:86
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.