Changeset 93871 in vbox
- Timestamp:
- Feb 21, 2022 3:01:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/networkmanager/UINetworkManager.cpp
r93868 r93871 152 152 /** Returns item name. */ 153 153 QString name() const { return m_strName; } 154 155 protected:156 157 /** Returns default text. */158 virtual QString defaultText() const /* override */;159 154 }; 160 155 … … 172 167 /** Returns item name. */ 173 168 QString name() const { return m_strName; } 174 175 protected:176 177 /** Returns default text. */178 virtual QString defaultText() const /* override */;179 169 }; 180 170 … … 340 330 } 341 331 342 QString UIItemNATNetwork::defaultText() const343 {344 return tr("%1, %2", "col.2 text, col.1 name").arg(text(1)).arg(parentTree()->headerItem()->text(0));345 }346 347 332 348 333 /********************************************************************************************************************************* … … 369 354 /* Assign tool-tip finally: */ 370 355 setToolTip(CloudNetworkColumn_Name, strTable.arg(strToolTip)); 371 }372 373 QString UIItemCloudNetwork::defaultText() const374 {375 return tr("%1, %2", "col.2 text, col.1 name").arg(text(1)).arg(parentTree()->headerItem()->text(0));376 356 } 377 357
Note:
See TracChangeset
for help on using the changeset viewer.