MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / getAddressString

Method getAddressString

gui/qt/memorywidget.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26// ------------------------------------------------
27
28QString MainWindow::getAddressString(const QString& string, bool* ok) {
29 QString address = QInputDialog::getText(this, tr("Goto"),
30 tr("Input Address (Or Equate):"), QLineEdit::Normal,
31 string, ok).toUpper();
32
33 QString exists = getAddressOfEquate(address.toUpper().toStdString());
34 if (!exists.isEmpty()) {
35 return exists;
36 }
37
38 return int2hex(static_cast<uint32_t>(hex2int(address)), 6);
39}
40
41void MainWindow::flashUpdate() {
42 if (!guiEmuValid) {

Callers

nothing calls this directly

Calls 3

getAddressOfEquateFunction · 0.85
int2hexFunction · 0.85
hex2intFunction · 0.85

Tested by

no test coverage detected