IconProducer::IconProducer() { mBuilt_in_wireless_signal_none = buildIcon(":/resources/signal-strength-0.svg"); mBuilt_in_wireless_signal_weak = buildIcon(":/resources/signal-strength-1.svg"); mBuilt_in_wireless_signal_ok = buildIcon(":/resources/signal-strength-2.svg"); mBuilt_in_wireless_signal_good = buildIcon(":/resources/signal-strength-3.svg"); mBuilt_in_wireless_signal_excellent = buildIcon(":/resources/signal-strength-4.svg"); connect(LXQt::GlobalSettings::globalSettings(), SIGNAL(iconThemeChanged()), this, SLOT(onIconThemeChanged())); onIconThemeChanged(); }
IconProducer::IconProducer() { mBuiltInDisconnected = buildIcon(":/resources/wired-disconnected.svg"); mBuiltInWiredConnected = buildIcon(":/resources/wired-connected.svg"); mBuiltInWirelessNone = buildIcon(":/resources/signal-strength-0.svg"); mBuiltInWirelessWeak = buildIcon(":/resources/signal-strength-1.svg"); mBuiltInWirelessOk = buildIcon(":/resources/signal-strength-2.svg"); mBuiltInWirelessGood = buildIcon(":/resources/signal-strength-3.svg"); mBuiltInWirelessExcellent = buildIcon(":/resources/signal-strength-4.svg"); connect(LXQt::GlobalSettings::globalSettings(), SIGNAL(iconThemeChanged()), this, SLOT(onIconThemeChanged())); onIconThemeChanged(); }
QIcon& Icon::remove() { return buildIcon("remove"); }
QIcon& Icon::add() { return buildIcon("add"); }
QIcon& Icon::images() { return buildIcon("images"); }
QIcon& Icon::image() { return buildIcon("image"); }
QIcon& Icon::redo() { return buildIcon("redo"); }
QIcon& Icon::undo() { return buildIcon("undo"); }
QIcon& Icon::exit() { return buildIcon("exit"); }
QIcon& Icon::close() { return buildIcon("close"); }
QIcon& Icon::saveAll() { return buildIcon("save_all"); }
QIcon& Icon::save() { return buildIcon("save"); }
QIcon& Icon::open() { return buildIcon("folder-open"); }
QIcon& Icon::create() { return buildIcon("file"); }