MCPcopy Index your code
hub / github.com/NetHack/NetHack / aboutMsg

Function aboutMsg

outdated/win/Qt3/qt3_win.cpp:145–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 "<br><small>by the NetHack DevTeam</small></center>";
144
145static QString
146aboutMsg()
147{
148 char vbuf[BUFSZ];
149 QString msg;
150 msg.sprintf(
151 // format
152 "Qt NetHack is a version of NetHack\n"
153 "built using" // no newline
154#ifdef KDE
155 " KDE and" // ditto
156#endif
157 " the Qt %d GUI toolkit.\n"
158 "\nThis is NetHack %s%s.\n"
159 "\nNetHack's Qt interface originally developed by Warwick Allison.\n"
160 "\n"
161#if 0
162 "Homepage:\n http://trolls.troll.no/warwick/nethack/\n" //obsolete
163#endif
164#ifdef KDE
165 "KDE:\n https://kde.org/\n"
166#endif
167#if 1
168 "Qt:\n https://qt.io/\n"
169#else
170 "Qt:\n http://www.troll.no/\n" // obsolete
171#endif
172 "NetHack:\n %s\n",
173 // arguments
174#ifdef QT_VERSION_MAJOR
175 QT_VERSION_MAJOR,
176#else
177 3, // Qt version macro should exist; if not, assume Qt3
178#endif
179 version_string(vbuf), /* nethack version */
180#ifdef QT_VERSION_STR
181 " with Qt " QT_VERSION_STR,
182#else
183 "",
184#endif
185 DEVTEAM_URL);
186 return msg;
187}
188
189static void
190centerOnMain( QWidget* w )

Callers 1

doMenuItemMethod · 0.70

Calls 1

version_stringFunction · 0.85

Tested by

no test coverage detected