diff --git a/sources/diagramprintdialog.h b/sources/diagramprintdialog.h index ffde10c2c..12f2d6cc9 100644 --- a/sources/diagramprintdialog.h +++ b/sources/diagramprintdialog.h @@ -31,7 +31,7 @@ class QPrinter; */ class DiagramPrintDialog : public QWidget { - //@TODO Remove definitely the commented lines in this class related to post script + Q_OBJECT // Constructors, destructor @@ -82,11 +82,9 @@ class DiagramPrintDialog : public QWidget QHBoxLayout *hlayout0_; QLabel *printer_icon_; QLabel *pdf_icon_; -// QLabel *ps_icon_; QButtonGroup *printtype_choice_; QRadioButton *printer_choice_; QRadioButton *pdf_choice_; -// QRadioButton *ps_choice_; QLineEdit *filepath_field_; QPushButton *browse_button_; QDialogButtonBox *buttons_; diff --git a/sources/elementspanelwidget.cpp b/sources/elementspanelwidget.cpp index 9cafeb9dc..476ffa8b3 100644 --- a/sources/elementspanelwidget.cpp +++ b/sources/elementspanelwidget.cpp @@ -68,15 +68,7 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) { filter_textfield -> setClearButtonEnabled(true); filter_textfield -> setPlaceholderText(tr("Filtrer")); - - //@TODO remove the commented code below - // ajoute une petite marge a la droite du champ pour filtrer lorsque le style CleanLooks est utilise -// if (qobject_cast(QApplication::style())) { -// int l, t, r, b; -// filter_toolbar -> getContentsMargins(&l, &t, &r, &b); -// filter_toolbar -> setContentsMargins (l, t, r + 4, b); -// } - + context_menu = new QMenu(this); connect(open_directory, SIGNAL(triggered()), this, SLOT(openDirectoryForSelectedItem())); diff --git a/sources/qetapp.cpp b/sources/qetapp.cpp index 4d130b27e..2c56261f2 100644 --- a/sources/qetapp.cpp +++ b/sources/qetapp.cpp @@ -1349,12 +1349,7 @@ void QETApp::initLanguage() { void QETApp::initStyle() { initial_palette_ = palette(); - //@TODO remove the code below -// // lorsque le style Plastique est active, on le remplace par une version amelioree -// if (qobject_cast(style())) { -// setStyle(new QETStyle()); -// } - //Apply or not the system style + //Apply or not the system style QSettings settings; useSystemPalette(settings.value("usesystemcolors", true).toBool()); }