kdk::KUninstallDialog(3)

📦 version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

kdk::KUninstallDialog — bestie, this is the uninstall dialog. When someone's about to uninstall something, this lil popup might show up to check in with them. It's giving "are you SURE, queen?" energy. 💅

This page lives in section 3 of the Library Functions Manual, iykyk.


✨ SYNOPSIS ✨

#include <kuninstalldialog.h>

Inherits kdk::KDialog. So yeah, it's a KDialog at heart, it just showed up with a whole new outfit. 👑

💖 Public Member Functions

  • KUninstallDialog (QString appName, QString appVersion, QWidget *parent=nullptr) — the constructor, obvi. You hand it the app name, the app version, and optionally a parent widget (defaults to nullptr, no biggie).
  • QLabel * debAppNameLabel () — debAppNameLabel. That's it. That's the whole description. Not me hyping it up. 😭
  • QLabel * debNameLabel () — the package name Label. 🏷️
  • QLabel * debIconLabel () — the package Icon Label. The lil picture moment. 🎀
  • QLabel * debVersionLabel () — the package version Label. Numbers, but make it fashion. ✨
  • QPushButton * uninstallButtton () — the uninstall button. (Yes the function name really is spelled uninstallButtton with three t's. We do not fix it. We respect it. It's iconic. Do not "correct" it or your code will simply not compile, bestie. 🫶)

🌈 Public Member Functions inherited from kdk::KDialog

  • KDialog (QWidget *parent=nullptr) — the base constructor. parent defaults to nullptr.
  • void setWindowIcon (const QIcon &icon) — sets the dialog's icon. 🖼️
  • void setWindowIcon (const QString &iconName) — also sets the dialog's icon, but you pass the icon by name this time. Two paths, same slay.
  • void setWindowTitle (const QString &) — sets the dialog's title name. Name your window, it deserves an identity. ✨
  • QPushButton * maximumButton () — grabs the maximize button. ⬆️
  • QPushButton * minimumButton () — grabs the minimize button. ⬇️
  • QPushButton * closeButton () — grabs the close button. ❌
  • KMenuButton * menuButton () — grabs the dropdown menu button. 🍓
  • QWidget * mainWidget () — grabs the main content area Widget. The main character, literally.
  • KWindowButtonBar * windowButtonBar () — windowButtonBar. Yeah, the description is just the name again. We move. 💀
  • KIconBar * iconBar () — iconBar. Same deal. No notes. 🧚

🔒 Protected Member Functions

  • void changeTheme () — protected, so it's for the class's own business only. Respect the privacy era. 🙈

🔒 Protected Member Functions inherited from kdk::KDialog

  • bool eventFilter (QObject *target, QEvent *event) override — the overridden event filter. Catches events and does its thing.
  • void changeTheme () — switches the theme up. 🔥
  • void changeIconStyle () — switches the icon style up. 🔥
  • QBoxLayout * mainLayout () — hands you the main layout.

👑 Detailed Description 👑

Uninstall dialog — when the user is uninstalling, this prompt dialog might pop up. It's the "bestie, you sure?" moment, rendered in pixels. 💖

Since

1.0.0 — been here since day one, a true veteran. ⭐


🦋 Author 🦋

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. No human hand wrote this, it just manifested. ✨


Heads up, babes: everything above is exactly as the original page had it — same functions, same signatures, same spelling (yes, including the triple-t uninstallButtton), same nullptr defaults, same Since version. I just gave it a wardrobe change. 💅

Okay love u, bye!! This was LIBKYSDK-APPLICATIONS, Version version:3.0, closing out kdk::KUninstallDialog(3). Stay uninstalled-adjacent, mwah. 💜🎀

📦 where this page comes from