C++ (Qt)#include "mainwindow.h"#include "ui_mainwindow.h"#include "manhattanstyle.h" #include <QString> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow){ ui->setupUi(this); QString baseName = QApplication::style()->objectName(); qApp->setStyle(new ManhattanStyle(baseName));}