/dports/audio/strawberry/strawberry-1.0.0/src/queue/ |
H A D | queue.cpp | 276 void Queue::Move(const QList<int> &proxy_rows, int pos) { in Move() argument 283 moved_items.reserve(proxy_rows.count()); in Move() 284 for (const int row : proxy_rows) { in Move() 305 for (int row : proxy_rows) { in Move() 365 QList<int> proxy_rows; in dropMimeData() local 367 stream >> proxy_rows; in dropMimeData() 370 std::stable_sort(proxy_rows.begin(), proxy_rows.end()); in dropMimeData() 372 Move(proxy_rows, row); in dropMimeData() 450 void Queue::Remove(QList<int> &proxy_rows) { in Remove() argument 453 std::stable_sort(proxy_rows.begin(), proxy_rows.end()); in Remove() [all …]
|
H A D | queue.h | 59 void Move(const QList<int> &proxy_rows, int pos); 62 void Remove(QList<int> &proxy_rows);
|
/dports/audio/clementine-player/Clementine-1.4.0rc1/src/playlist/ |
H A D | queue.cpp | 238 void Queue::Move(const QList<int>& proxy_rows, int pos) { in Move() argument 245 for (int row : proxy_rows) { in Move() 259 const int dest_offset = proxy_rows.indexOf(pidx.row()); in Move() 266 for (int row : proxy_rows) { in Move() 319 QList<int> proxy_rows; in dropMimeData() local 321 stream >> proxy_rows; in dropMimeData() 323 std::stable_sort(proxy_rows.begin(), proxy_rows.end()); in dropMimeData() 325 Move(proxy_rows, row); in dropMimeData() 392 void Queue::Remove(QList<int>& proxy_rows) { in Remove() argument 394 std::stable_sort(proxy_rows.begin(), proxy_rows.end()); in Remove() [all …]
|
H A D | queue.h | 46 void Move(const QList<int>& proxy_rows, int pos); 49 void Remove(QList<int>& proxy_rows);
|
/dports/databases/libgda5/libgda-5.2.10/libgda-ui/ |
H A D | gdaui-data-proxy-info.c | 650 gint proxy_rows = 0; in idle_modif_buttons_update() local 661 proxy_rows = gda_data_model_get_n_rows (GDA_DATA_MODEL (info->priv->proxy)); in idle_modif_buttons_update() 680 wrows = (proxy_rows <= 0) ? FALSE : TRUE; in idle_modif_buttons_update() 683 if (proxy_rows < 0) { in idle_modif_buttons_update() 698 total = sample_first_row + proxy_rows; in idle_modif_buttons_update() 704 str = g_strdup_printf (" / (%d)", proxy_rows); in idle_modif_buttons_update() 706 str = g_strdup_printf (" / %d", proxy_rows); in idle_modif_buttons_update() 710 proxy_rows > 0 ? 1 : 0, in idle_modif_buttons_update() 711 proxy_rows); in idle_modif_buttons_update() 847 g_object_set (G_OBJECT (action), "sensitive", (row == proxy_rows -1) || (row < 0) ? FALSE : TRUE, in idle_modif_buttons_update() [all …]
|
/dports/databases/libgda5-bdb/libgda-5.2.10/libgda-ui/ |
H A D | gdaui-data-proxy-info.c | 650 gint proxy_rows = 0; in idle_modif_buttons_update() local 661 proxy_rows = gda_data_model_get_n_rows (GDA_DATA_MODEL (info->priv->proxy)); in idle_modif_buttons_update() 680 wrows = (proxy_rows <= 0) ? FALSE : TRUE; in idle_modif_buttons_update() 683 if (proxy_rows < 0) { in idle_modif_buttons_update() 698 total = sample_first_row + proxy_rows; in idle_modif_buttons_update() 704 str = g_strdup_printf (" / (%d)", proxy_rows); in idle_modif_buttons_update() 706 str = g_strdup_printf (" / %d", proxy_rows); in idle_modif_buttons_update() 710 proxy_rows > 0 ? 1 : 0, in idle_modif_buttons_update() 711 proxy_rows); in idle_modif_buttons_update() 847 g_object_set (G_OBJECT (action), "sensitive", (row == proxy_rows -1) || (row < 0) ? FALSE : TRUE, in idle_modif_buttons_update() [all …]
|
/dports/databases/libgda5-mysql/libgda-5.2.10/libgda-ui/ |
H A D | gdaui-data-proxy-info.c | 650 gint proxy_rows = 0; 661 proxy_rows = gda_data_model_get_n_rows (GDA_DATA_MODEL (info->priv->proxy)); 680 wrows = (proxy_rows <= 0) ? FALSE : TRUE; 683 if (proxy_rows < 0) { 698 total = sample_first_row + proxy_rows; 704 str = g_strdup_printf (" / (%d)", proxy_rows); 706 str = g_strdup_printf (" / %d", proxy_rows); 710 proxy_rows > 0 ? 1 : 0, 711 proxy_rows); 847 g_object_set (G_OBJECT (action), "sensitive", (row == proxy_rows -1) || (row < 0) ? FALSE : TRUE, [all …]
|
/dports/databases/libgda5-ui/libgda-5.2.10/libgda-ui/ |
H A D | gdaui-data-proxy-info.c | 650 gint proxy_rows = 0; in idle_modif_buttons_update() local 661 proxy_rows = gda_data_model_get_n_rows (GDA_DATA_MODEL (info->priv->proxy)); in idle_modif_buttons_update() 680 wrows = (proxy_rows <= 0) ? FALSE : TRUE; in idle_modif_buttons_update() 683 if (proxy_rows < 0) { in idle_modif_buttons_update() 698 total = sample_first_row + proxy_rows; in idle_modif_buttons_update() 704 str = g_strdup_printf (" / (%d)", proxy_rows); in idle_modif_buttons_update() 706 str = g_strdup_printf (" / %d", proxy_rows); in idle_modif_buttons_update() 710 proxy_rows > 0 ? 1 : 0, in idle_modif_buttons_update() 711 proxy_rows); in idle_modif_buttons_update() 847 g_object_set (G_OBJECT (action), "sensitive", (row == proxy_rows -1) || (row < 0) ? FALSE : TRUE, in idle_modif_buttons_update() [all …]
|
/dports/databases/libgda5-postgresql/libgda-5.2.10/libgda-ui/ |
H A D | gdaui-data-proxy-info.c | 650 gint proxy_rows = 0; 661 proxy_rows = gda_data_model_get_n_rows (GDA_DATA_MODEL (info->priv->proxy)); 680 wrows = (proxy_rows <= 0) ? FALSE : TRUE; 683 if (proxy_rows < 0) { 698 total = sample_first_row + proxy_rows; 704 str = g_strdup_printf (" / (%d)", proxy_rows); 706 str = g_strdup_printf (" / %d", proxy_rows); 710 proxy_rows > 0 ? 1 : 0, 711 proxy_rows); 847 g_object_set (G_OBJECT (action), "sensitive", (row == proxy_rows -1) || (row < 0) ? FALSE : TRUE, [all …]
|
/dports/databases/libgda5-jdbc/libgda-5.2.10/libgda-ui/ |
H A D | gdaui-data-proxy-info.c | 650 gint proxy_rows = 0; in idle_modif_buttons_update() local 661 proxy_rows = gda_data_model_get_n_rows (GDA_DATA_MODEL (info->priv->proxy)); in idle_modif_buttons_update() 680 wrows = (proxy_rows <= 0) ? FALSE : TRUE; in idle_modif_buttons_update() 683 if (proxy_rows < 0) { in idle_modif_buttons_update() 698 total = sample_first_row + proxy_rows; in idle_modif_buttons_update() 704 str = g_strdup_printf (" / (%d)", proxy_rows); in idle_modif_buttons_update() 706 str = g_strdup_printf (" / %d", proxy_rows); in idle_modif_buttons_update() 710 proxy_rows > 0 ? 1 : 0, in idle_modif_buttons_update() 711 proxy_rows); in idle_modif_buttons_update() 847 g_object_set (G_OBJECT (action), "sensitive", (row == proxy_rows -1) || (row < 0) ? FALSE : TRUE, in idle_modif_buttons_update() [all …]
|
/dports/databases/libgda5-ldap/libgda-5.2.10/libgda-ui/ |
H A D | gdaui-data-proxy-info.c | 650 gint proxy_rows = 0; in idle_modif_buttons_update() local 661 proxy_rows = gda_data_model_get_n_rows (GDA_DATA_MODEL (info->priv->proxy)); in idle_modif_buttons_update() 680 wrows = (proxy_rows <= 0) ? FALSE : TRUE; in idle_modif_buttons_update() 683 if (proxy_rows < 0) { in idle_modif_buttons_update() 698 total = sample_first_row + proxy_rows; in idle_modif_buttons_update() 704 str = g_strdup_printf (" / (%d)", proxy_rows); in idle_modif_buttons_update() 706 str = g_strdup_printf (" / %d", proxy_rows); in idle_modif_buttons_update() 710 proxy_rows > 0 ? 1 : 0, in idle_modif_buttons_update() 711 proxy_rows); in idle_modif_buttons_update() 847 g_object_set (G_OBJECT (action), "sensitive", (row == proxy_rows -1) || (row < 0) ? FALSE : TRUE, in idle_modif_buttons_update() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/itemviews/ |
H A D | qsortfilterproxymodel.cpp | 151 QVector<int> proxy_rows; member 339 m->proxy_rows.resize(source_rows); in create_mapping() 392 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 409 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1137 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1155 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1161 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1194 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1217 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1228 ? m->proxy_rows.at(start) in _q_sourceHeaderDataChanged() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/corelib/itemmodels/ |
H A D | qsortfilterproxymodel.cpp | 280 QVector<int> proxy_rows; member 517 m->proxy_rows.resize(source_rows); in create_mapping() 552 if (gm->proxy_rows.at(source_parent.row()) == -1 || in create_mapping_recursive() 593 int proxy_row = m->proxy_rows.at(source_index.row()); in source_to_proxy() 610 if (gm->proxy_rows.at(source_parent.row()) == -1 || in can_create_mapping() 1459 if (m->proxy_rows.at(source_row) != -1) { in _q_sourceDataChanged() 1477 if (m->proxy_rows.at(source_row) != -1) in _q_sourceDataChanged() 1483 remove_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() 1520 proxy_item_range(m->proxy_rows, source_rows_change, in _q_sourceDataChanged() 1547 insert_source_items(m->proxy_rows, m->source_rows, in _q_sourceDataChanged() [all …]
|