MCPcopy Create free account
hub / github.com/IJHack/QtPass / qrCodeButtonSetEmptyText

Method qrCodeButtonSetEmptyText

tests/auto/ui/tst_ui.cpp:313–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void tst_ui::qrCodeButtonSetEmptyText() {
314 QPushButtonAsQRCode btn("nonempty");
315 btn.setTextToCopy("");
316 QCOMPARE(btn.getTextToCopy(), QString(""));
317}
318
319void tst_ui::qrCodeButtonSetAndGetRoundtrip() {
320 QPushButtonAsQRCode btn;

Callers

nothing calls this directly

Calls 2

setTextToCopyMethod · 0.45
getTextToCopyMethod · 0.45

Tested by

no test coverage detected