void makePopup(QString label, const char *okSlot, const char *cancelSlot, QString editText); void makePopup(QString label, const char *okSlot, const char *cancelSlot, bool createEditor = true, QString editText = ""); makePopup("Player command", SLOT(editEntry()), SLOT(cancel()), "current command");