diff options
author | George Hazan <ghazan@miranda.im> | 2022-07-31 18:07:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-07-31 18:07:27 +0300 |
commit | 500dd4848842f6d4207584417448586d060fbd6a (patch) | |
tree | 569ac641e814da1d706d36b12eaf35183a3ce7a5 /plugins/QuickSearch | |
parent | b47e4b4b32698470bf52c0dc1c2d1af56c46c9b5 (diff) |
Contact: group of functions gathered into the personal namespace
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r-- | plugins/QuickSearch/src/window.cpp | 2 | ||||
-rw-r--r-- | plugins/QuickSearch/src/window_row.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/QuickSearch/src/window.cpp b/plugins/QuickSearch/src/window.cpp index b4aa4311d2..891d39aa92 100644 --- a/plugins/QuickSearch/src/window.cpp +++ b/plugins/QuickSearch/src/window.cpp @@ -560,7 +560,7 @@ INT_PTR QSMainDlg::OnStatusChanged(UINT, WPARAM hContact, LPARAM lParam) return 0; int oldStatus = pRow->status; - int newStatus = Contact_GetStatus(hContact); + int newStatus = Contact::GetStatus(hContact); pRow->status = newStatus; if (oldStatus != ID_STATUS_OFFLINE && newStatus != ID_STATUS_OFFLINE) diff --git a/plugins/QuickSearch/src/window_row.cpp b/plugins/QuickSearch/src/window_row.cpp index a86489ad4a..d05ddb0c43 100644 --- a/plugins/QuickSearch/src/window_row.cpp +++ b/plugins/QuickSearch/src/window_row.cpp @@ -39,7 +39,7 @@ CRowItem::CRowItem(MCONTACT _1, QSMainDlg *pDlg) : if (bAccDel || bAccOff) status = ID_STATUS_OFFLINE; else - status = Contact_GetStatus(hContact); + status = Contact::GetStatus(hContact); if (int nCount = g_plugin.m_columns.getCount()) { pValues = new Val[nCount]; @@ -131,7 +131,7 @@ void CRowItem::Val::LoadOneItem(MCONTACT hContact, const ColumnItem &pCol, QSMai break; case QST_CONTACTINFO: - text = Contact_GetInfo(pCol.cnftype, hContact); + text = Contact::GetInfo(pCol.cnftype, hContact); if (text) data = _wtoi(text); break; |