MCPcopy Create free account
hub / github.com/KDE/kdevelop / sortedActions

Function sortedActions

plugins/openwith/openwithplugin.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67QList<QAction*> sortedActions(QList<QAction*> actions, int sortOffset)
68{
69 if (!actions.isEmpty()) {
70 Q_ASSERT(actions.size() >= sortOffset);
71 std::sort(actions.begin() + sortOffset, actions.end(), sortActions);
72 }
73 return actions;
74}
75
76QAction* createAction(const QString& name, const QString& iconName, QWidget* parent, bool isDefault)
77{

Callers 2

actionsForPartsMethod · 0.85

Calls 5

sortFunction · 0.85
isEmptyMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected