/dports/x11-wm/plasma5-kwin/kwin-5.23.5/autotests/integration/ |
H A D | virtual_desktop_test.cpp | 140 QCOMPARE(client->desktops().count(), 1u); in testLastDesktopRemoved() 150 QCOMPARE(client->desktops().count(), 1u); in testLastDesktopRemoved() 175 QCOMPARE(client->desktops().count(), 1u); in testWindowOnMultipleDesktops() 180 QCOMPARE(client->desktops().count(), 2u); in testWindowOnMultipleDesktops() 181 QCOMPARE(VirtualDesktopManager::self()->desktops()[2], client->desktops()[0]); in testWindowOnMultipleDesktops() 182 QCOMPARE(VirtualDesktopManager::self()->desktops()[1], client->desktops()[1]); in testWindowOnMultipleDesktops() 260 QCOMPARE(VirtualDesktopManager::self()->desktops()[2], client->desktops()[0]); in testRemoveDesktopWithWindow() 261 QCOMPARE(VirtualDesktopManager::self()->desktops()[1], client->desktops()[1]); in testRemoveDesktopWithWindow() 269 QCOMPARE(VirtualDesktopManager::self()->desktops()[1], client->desktops()[0]); in testRemoveDesktopWithWindow() 278 QCOMPARE(VirtualDesktopManager::self()->desktops()[2], client->desktops()[0]); in testRemoveDesktopWithWindow() [all …]
|
/dports/x11-wm/enlightenment/enlightenment-0.24.2/src/bin/ |
H A D | e_order.c | 101 EINA_LIST_FOREACH(eo->desktops, l, desktop) in e_order_clone() 104 eoc->desktops = eina_list_append(eoc->desktops, desktop); in e_order_clone() 133 eo->desktops = eina_list_remove_list(eo->desktops, tmp); in e_order_remove() 145 eo->desktops = eina_list_append(eo->desktops, desktop); in e_order_append() 157 eo->desktops = eina_list_prepend_relative(eo->desktops, desktop, before); in e_order_prepend_relative() 179 eo->desktops = eina_list_append(eo->desktops, desktop); in e_order_files_append() 202 eo->desktops = eina_list_prepend_relative(eo->desktops, desktop, before); in e_order_files_prepend_relative() 240 eo->desktops = eina_list_remove(eo->desktops, desktop); in _e_order_remove_if_exists() 328 eo->desktops = eina_list_append(eo->desktops, desktop); in _e_order_read() 341 eo->desktops = eina_list_append(eo->desktops, desktop); in _e_order_read() [all …]
|
/dports/x11/kf5-kwayland/kwayland-5.89.0/autotests/client/ |
H A D | test_plasma_virtual_desktop.cpp | 201 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 1); in testCreate() 218 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 2); in testCreate() 225 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 3); in testCreate() 251 QCOMPARE(m_plasmaVirtualDesktopManagementInterface->desktops().length(), 3); in testCreate() 252 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 3); in testCreate() 255 …m_plasmaVirtualDesktopManagementInterface->desktops().at(i)->id(), m_plasmaVirtualDesktopManagemen… in testCreate() 297 QCOMPARE(otherPlasmaVirtualDesktopManagement->desktops().length(), 3); in testConnectNewClient() 322 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 2); in testDestroy() 325 …m_plasmaVirtualDesktopManagementInterface->desktops().at(i)->id(), m_plasmaVirtualDesktopManagemen… in testDestroy() 335 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 1); in testDestroy() [all …]
|
/dports/x11/plasma5-kwayland-server/kwayland-server-5.23.5/autotests/client/ |
H A D | test_plasma_virtual_desktop.cpp | 190 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 1); in testCreate() 207 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 2); in testCreate() 214 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 3); in testCreate() 240 QCOMPARE(m_plasmaVirtualDesktopManagementInterface->desktops().length(), 3); in testCreate() 241 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 3); in testCreate() 244 …m_plasmaVirtualDesktopManagementInterface->desktops().at(i)->id(), m_plasmaVirtualDesktopManagemen… in testCreate() 286 QCOMPARE(otherPlasmaVirtualDesktopManagement->desktops().length(), 3); in testConnectNewClient() 311 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 2); in testDestroy() 314 …m_plasmaVirtualDesktopManagementInterface->desktops().at(i)->id(), m_plasmaVirtualDesktopManagemen… in testDestroy() 324 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 1); in testDestroy() [all …]
|
/dports/x11/plasma5-kwayland-server/kwayland-server-5.23.5/src/server/ |
H A D | plasmavirtualdesktop_interface.cpp | 59 …return std::find_if(desktops.constBegin(), desktops.constEnd(), [id](const PlasmaVirtualDesktopInt… in constFindDesktop() 66 …return std::find_if(desktops.begin(), desktops.end(), [id](const PlasmaVirtualDesktopInterface *de… in findDesktop() 76 if (i == desktops.constEnd()) { in org_kde_plasma_virtual_desktop_management_get_virtual_desktop() 107 for (auto it = desktops.constBegin(); it != desktops.constEnd(); ++it) { in org_kde_plasma_virtual_desktop_management_bind_resource() 126 qDeleteAll(d->desktops); in ~PlasmaVirtualDesktopManagementInterface() 149 if (i != d->desktops.constEnd()) { in desktop() 158 if (i != d->desktops.constEnd()) { in createDesktop() 173 if (d->desktops.isEmpty()) { in createDesktop() 190 if (deskIt == d->desktops.end()) { in removeDesktop() 205 d->desktops.erase(deskIt); in removeDesktop() [all …]
|
/dports/graphics/wrapland/wrapland-6a083c7bc9b37c5f756155e258b1fff4d24cea2a/autotests/client/ |
H A D | plasma_virtual_desktop.cpp | 232 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 2); in testCreate() 240 QCOMPARE(m_plasmaVirtualDesktopManagement->desktops().length(), 3); in testCreate() 247 = m_plasmaVirtualDesktopManagement->desktops()[1]; in testCreate() 253 = m_plasmaVirtualDesktopManagement->desktops()[2]; in testCreate() 330 = m_serverPlasmaVirtualDesktopManager->desktops().first(); in testDestroy() 332 = m_plasmaVirtualDesktopManagement->desktops().first(); in testDestroy() 373 = m_serverPlasmaVirtualDesktopManager->desktops().first(); in testActivate() 375 = m_plasmaVirtualDesktopManagement->desktops().first(); in testActivate() 380 = m_serverPlasmaVirtualDesktopManager->desktops()[1]; in testActivate() 382 = m_plasmaVirtualDesktopManagement->desktops()[1]; in testActivate() [all …]
|
/dports/graphics/wrapland/wrapland-6a083c7bc9b37c5f756155e258b1fff4d24cea2a/server/ |
H A D | plasma_virtual_desktop.cpp | 51 return std::find_if(desktops.constBegin(), in constFindDesktop() 52 desktops.constEnd(), in constFindDesktop() 59 return std::find_if(desktops.begin(), desktops.end(), [id](const PlasmaVirtualDesktop* desk) { in findDesktop() 74 if (virtualDesktopIt == priv->desktops.constEnd()) { in getVirtualDesktopCallback() 105 for (auto it = desktops.constBegin(); it != desktops.constEnd(); ++it) { in bindInit() 124 for (auto desktop : d_ptr->desktops) { in ~PlasmaVirtualDesktopManager() 161 if (d_ptr->desktops.isEmpty()) { in createDesktop() 165 d_ptr->desktops.insert(static_cast<int>(actualPosition), desktop); in createDesktop() 176 if (deskIt == d_ptr->desktops.end()) { in removeDesktop() 181 d_ptr->desktops.erase(deskIt); in removeDesktop() [all …]
|
/dports/x11/mate-panel/mate-panel-1.26.1/mate-panel/ |
H A D | mate-desktop-item-edit.c | 24 static char **desktops = NULL; variable 28 { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &desktops, NULL, N_("[FILE...]") }, 117 if (desktops == NULL || in main() 118 desktops[0] == NULL) { in main() 123 for (i = 0; desktops[i] != NULL; i++) { in main() 131 file = g_file_new_for_commandline_arg (desktops[i]); in main() 159 desktops[i] = g_build_path ("/", uri, in main() 163 && g_str_has_suffix (desktops [i], in main() 171 && g_str_has_suffix (desktops [i], in main() 188 } else if (g_str_has_suffix (desktops [i], ".directory")) { in main() [all …]
|
/dports/x11/appmenu-registrar/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/lib/ |
H A D | matcher.c | 26 GHashTable *desktops; member 46 g_clear_pointer(&self->desktops, g_hash_table_unref); in vala_panel_matcher_finalize() 75 self->desktops = NULL; in vala_panel_matcher_init() 86 g_clear_pointer(&self->desktops, g_hash_table_unref); in matcher_reload_ids() 235 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 237 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() 241 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 258 if (g_hash_table_contains(self->desktops, gtk_id)) in vala_panel_matcher_match_arbitrary() 269 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 271 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() [all …]
|
/dports/x11/gtk-app-menu/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/lib/ |
H A D | matcher.c | 26 GHashTable *desktops; member 46 g_clear_pointer(&self->desktops, g_hash_table_unref); in vala_panel_matcher_finalize() 75 self->desktops = NULL; in vala_panel_matcher_init() 86 g_clear_pointer(&self->desktops, g_hash_table_unref); in matcher_reload_ids() 235 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 237 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() 241 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 258 if (g_hash_table_contains(self->desktops, gtk_id)) in vala_panel_matcher_match_arbitrary() 269 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 271 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() [all …]
|
/dports/x11/mate-applet-appmenu/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/lib/ |
H A D | matcher.c | 26 GHashTable *desktops; member 46 g_clear_pointer(&self->desktops, g_hash_table_unref); in vala_panel_matcher_finalize() 75 self->desktops = NULL; in vala_panel_matcher_init() 86 g_clear_pointer(&self->desktops, g_hash_table_unref); in matcher_reload_ids() 235 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 237 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() 241 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 258 if (g_hash_table_contains(self->desktops, gtk_id)) in vala_panel_matcher_match_arbitrary() 269 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 271 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() [all …]
|
/dports/x11/xfce4-appmenu-plugin/vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6/lib/ |
H A D | matcher.c | 26 GHashTable *desktops; member 46 g_clear_pointer(&self->desktops, g_hash_table_unref); in vala_panel_matcher_finalize() 75 self->desktops = NULL; in vala_panel_matcher_init() 86 g_clear_pointer(&self->desktops, g_hash_table_unref); in matcher_reload_ids() 235 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 237 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() 241 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 258 if (g_hash_table_contains(self->desktops, gtk_id)) in vala_panel_matcher_match_arbitrary() 269 if (g_hash_table_contains(self->desktops, dname)) in vala_panel_matcher_match_arbitrary() 271 g_hash_table_lookup(self->desktops, dname)); in vala_panel_matcher_match_arbitrary() [all …]
|
/dports/x11/kf5-kwayland/kwayland-5.89.0/src/server/ |
H A D | plasmavirtualdesktop_interface.cpp | 91 …return std::find_if(desktops.constBegin(), desktops.constEnd(), [id](const PlasmaVirtualDesktopInt… in constFindDesktop() 98 …return std::find_if(desktops.begin(), desktops.end(), [id](const PlasmaVirtualDesktopInterface *de… in findDesktop() 109 if (i == s->desktops.constEnd()) { in getVirtualDesktopCallback() 153 for (auto it = desktops.constBegin(); it != desktops.constEnd(); ++it) { in bind() 178 qDeleteAll(d->desktops); in ~PlasmaVirtualDesktopManagementInterface() 208 if (i != d->desktops.constEnd()) { in desktop() 218 if (i != d->desktops.constEnd()) { in createDesktop() 231 if (d->desktops.isEmpty()) { in createDesktop() 248 if (deskIt == d->desktops.end()) { in removeDesktop() 261 d->desktops.erase(deskIt); in removeDesktop() [all …]
|
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/effects/desktopgrid/ |
H A D | main.qml | 16 enabled: effects.desktops > 1 18 onClicked: effects.desktops-- 22 enabled: effects.desktops < 20 24 onClicked: effects.desktops++
|
/dports/x11/bmpanel2/bmpanel2-2.1pre1/ |
H A D | widget-desktops.c | 111 xfree(dw->desktops[i].name); in free_desktops() 112 CLEAR_ARRAY(dw->desktops); in free_desktops() 123 int desktops = x_get_prop_int(c, c->root, in switch_desktop() local 125 if (desktop >= desktops) in switch_desktop() 154 ARRAY_APPEND(dw->desktops, d); in update_desktops() 194 dw->desktops[i].textw = maxwidth; in resize_desktops() 200 dw->desktops[i].w = x - sepw - basex; in resize_desktops() 232 INIT_ARRAY(dw->desktops, 16); in create_widget_private() 248 FREE_ARRAY(dw->desktops); in destroy_widget_private() 278 dw->desktops[i].x = x; in draw() [all …]
|
/dports/x11/plasma5-plasma-desktop/plasma-desktop-5.23.5/kcms/activities/ |
H A D | kcm_activities.desktop | 123 X-KDE-Keywords=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops 124 …-Keywords[az]=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops,… 127 …Keywords[en_GB]=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops 135 …-Keywords[ko]=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops,… 141 …-Keywords[ru]=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops,… 146 …-Keywords[uk]=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops,… 147 …-Keywords[vi]=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops,… 149 …ywords[zh_CN]=activities,activity,workspaces,alternate desktops,activity privacy,virtual desktops,…
|
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/kcmkwin/kwindesktop/ |
H A D | kcm_kwin_virtualdesktops.desktop | 79 Comment=Configure navigation, number and layout of virtual desktops 85 Comment[en_GB]=Configure navigation, number and layout of virtual desktops 113 X-KDE-Keywords=desktop,desktops,number,virtual desktop,multiple desktops,pager,pager widget,pager a… 116 X-KDE-Keywords[en_GB]=desktop,desktops,number,virtual desktop,multiple desktops,pager,pager widget,… 123 X-KDE-Keywords[ko]=desktop,desktops,number,virtual desktop,multiple desktops,pager,pager widget,pag… 126 X-KDE-Keywords[pt_BR]=área de trabalho,áreas de trabalho,desktop,desktops,número,área de trabalho v… 127 X-KDE-Keywords[ru]=desktop,desktops,number,virtual desktop,multiple desktops,pager,pager widget,pag… 130 X-KDE-Keywords[uk]=desktop,desktops,number,virtual desktop,multiple desktops,pager,pager widget,pag… 131 X-KDE-Keywords[vi]=desktop,desktops,number,virtual desktop,multiple desktops,pager,pager widget,pag… 133 X-KDE-Keywords[zh_CN]=desktop,desktops,number,virtual desktop,multiple desktops,pager,pager widget,…
|
/dports/graphics/wrapland/wrapland-6a083c7bc9b37c5f756155e258b1fff4d24cea2a/src/client/ |
H A D | plasmavirtualdesktop.cpp | 47 QList<PlasmaVirtualDesktop*> desktops; member in Wrapland::Client::PlasmaVirtualDesktopManagement::Private 115 return std::find_if(desktops.constBegin(), in constFindDesktop() 116 desktops.constEnd(), in constFindDesktop() 123 return std::find_if(desktops.begin(), desktops.end(), [id](const PlasmaVirtualDesktop* desk) { in findDesktop() 149 p->desktops.insert(position, vd); in createdCallback() 167 p->desktops.erase(i); in removedCallback() 266 if (i != d->desktops.constEnd()) { in getVirtualDesktop() 305 QList<PlasmaVirtualDesktop*> PlasmaVirtualDesktopManagement::desktops() const in desktops() function in Wrapland::Client::PlasmaVirtualDesktopManagement 307 return d->desktops; in desktops()
|
/dports/x11/kf5-kwayland/kwayland-5.89.0/src/client/ |
H A D | plasmavirtualdesktop.cpp | 30 QList<PlasmaVirtualDesktop *> desktops; member in KWayland::Client::PlasmaVirtualDesktopManagement::Private 77 …return std::find_if(desktops.constBegin(), desktops.constEnd(), [id](const PlasmaVirtualDesktop *d… in constFindDesktop() 84 return std::find_if(desktops.begin(), desktops.end(), [id](const PlasmaVirtualDesktop *desk) { in findDesktop() 105 p->desktops.insert(position, vd); in createdCallback() 122 p->desktops.erase(i); in removedCallback() 222 if (i != d->desktops.constEnd()) { in getVirtualDesktop() 257 QList<PlasmaVirtualDesktop *> PlasmaVirtualDesktopManagement::desktops() const in desktops() function in KWayland::Client::PlasmaVirtualDesktopManagement 259 return d->desktops; in desktops()
|
/dports/x11/vdesk/vdesk-1.2/ |
H A D | README | 1 vdesk: virtual desktops for any window manager 10 To switch desktops, invoke vdesk as: 14 It is useful to bind keys to switch desktops using a keygrabbing tool. 21 To make a window "sticky" (visible on all desktops), move it to desktop 34 store the number of the current desktop; when switching desktops, vdesk 40 window manager that provides "proper" virtual desktops.
|
/dports/x11/plasma5-plasma-workspace/plasma-workspace-5.23.5/containmentactions/switchwindow/ |
H A D | switch.cpp | 111 QMultiMap<QVariant, QAction *> desktops; in makeMenu() local 135 desktops.insert(desktop, action); in makeMenu() 154 m_actions << desktops.values(currentDesktop); in makeMenu() 165 if (desktops.contains(desktop)) { in makeMenu() 170 m_actions << desktops.values(desktop); in makeMenu() 184 if (desktops.contains(desktop)) { in makeMenu() 187 subMenu->addActions(desktops.values(desktop)); in makeMenu()
|
/dports/deskutils/ktimetracker/ktimetracker-5.0.1/src/model/ |
H A D | task.cpp | 38 const DesktopList& desktops, ProjectModel *projectModel, Task *parentTask) in Task() argument 48 init(taskName, taskDescription, minutes, sessionTime, nullptr, desktops, 0, 0); in Task() 66 DesktopList desktops; in Task() local 68 …parseIncidence( todo, minutes, sessionTime, sessionStartTiMe, name, description, desktops, percent… in Task() 70 …init( name, description, minutes, sessionTime, sessionStartTiMe, desktops, percent_complete, prior… in Task() 92 const DesktopList& desktops, int percent_complete, int priority) in init() argument 100 m_desktops = desktops; in init() 404 …sionMinutes, QString& sessionStartTiMe, QString& name, QString& description, DesktopList& desktops, in parseIncidence() argument 429 desktops.clear(); in parseIncidence() 434 desktops.push_back(desktopInt); in parseIncidence() [all …]
|
/dports/multimedia/webcamoid/webcamoid-8.8.0/StandAlone/src/ |
H A D | mediasource.cpp | 176 QStringList desktops; in MediaSource() local 194 for (const QString &desktop: desktops) { in MediaSource() 206 this->d->m_desktops = desktops; in MediaSource() 207 this->d->m_streams = cameras + desktops; in MediaSource() 234 QStringList MediaSource::desktops() const in desktops() function in MediaSource 534 QStringList desktops; in updateStreams() local 554 for (auto &desktop: desktops) { in updateStreams() 569 isSet |= this->setDesktops(desktops); in updateStreams() 607 if (this->d->m_desktops == desktops) in setDesktops() 610 this->d->m_desktops = desktops; in setDesktops() [all …]
|
H A D | mediasource.h | 47 Q_PROPERTY(QStringList desktops 48 READ desktops 80 Q_INVOKABLE QStringList desktops() const; 99 void desktopsChanged(const QStringList &desktops); 124 bool setDesktops(const QStringList &desktops);
|
/dports/devel/efl/efl-1.25.1/src/bin/elementary/ |
H A D | test_icon_desktops.c | 69 Eina_List *desktops; in test_icon_desktops() local 90 desktops = efreet_util_desktop_name_glob_list("*"); in test_icon_desktops() 91 if (desktops) in test_icon_desktops() 95 EINA_LIST_FREE(desktops, d) in test_icon_desktops()
|