KySdkPackageInfo(3)
💖 NAME 💖
KySdkPackageInfo — okay so this is the 获取包列表信息类, the "get me the package list info" class 🫶. It's literally here to do three things for you: pull every package list on the system, pull the version number of one specific package, and check whether a package with a given name is actually installed correctly. No cap. 💅
Also, quick vibe check on where you are: this page is KySdkPackageInfo(3), so that's section 3 — the Library Functions Manual. ✨
🌸 SYNOPSIS 🌸
#include <kysdkdbus.h>
It inherits QObject. Yes bestie, it's Qt-coded. 💜
💅 Public Slots
QStringList getPackageList() const— grabs every package list on the system 🌈QString getPackageVersion(const QString packageName) const— grabs the version number of the package you named 🔥int getPackageInstalled(const QString packageName, const QString version) const— checks whether the package with that name is correctly installed 💀
🦋 Detailed Description 🦋
So, the 获取包列表信息类 — the package-list-info class. It's mainly for getting all the package lists on your system, getting the version number of a specified package, and detecting whether the software package with a specified package name is correctly installed. That's the whole job. Iconic, honestly. 👑
👑 Public Slots 👑
int KySdkPackageInfo::getPackageInstalled(const QString packageName, const QString version) const [slot]
Checks whether the package with the specified package name is correctly installed. 🕵️♀️
Parameters
packageName— 包名, the package nameversion— 版本号, the version number. Most of the time this isNULL— it's reserved to get ready forsnap. Don't stress about it. 🙈
Returns
int— returns0on success, and an error code if it fails. 🍓
QStringList KySdkPackageInfo::getPackageList() const [slot]
Gets every package list on the system. All of them. The whole collection. 🎀
Returns
QStringList— all the package lists on the system. ⭐
QString KySdkPackageInfo::getPackageVersion(const QString packageName) const [slot]
Gets the version number of the package you specified. 🦋
Parameters
packageName— 软件包名, the software package name
Returns
QString— the version number. That's it, that's the tea. ☕
🎀 Author 🎀
Generated automatically by Doxygen for kysdkdbus.h from the source code. (Not me, bestie — the robots did this one. 🤖)
Heads up: this whole thing was auto-generated, so don't come for me about the vibes — I just translated them. 💖
And that's a wrap, bestie! 🌸 This lil page comes courtesy of My Project, dated Wed Sep 20 2023, and it lives at KySdkPackageInfo(3) in the Library Functions Manual. Go install something correctly. Mwah. 💅✨
📦 where this page comes from
- arch rolling: libkysdk-system 3.0.1.4-1 · LGPL-3.0-or-later AND LGPL-2.1-only OR LGPL-3.0-only AND LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR LGPL-3.0-only WITH Qt-LGPL-exception-1.1 AND MIT
- ubuntu resolute: libkysdk-system-dev 3.0.1.2-0ubuntu1 · LGPL-3.0-only
- ubuntu stonking: libkysdk-system-dev 3.0.1.3-0ubuntu1 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms