[Kst] [Bug 248184] kst2 should become a kde app

Peter Kümmel syntheticpp at gmx.net
Mon Oct 4 20:26:07 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=248184





--- Comment #4 from Peter Kümmel <syntheticpp gmx net>  2010-10-04 20:25:57 ---
krazy finds Qt classes which should be replaced by K* classes:
24. Check for Qt classes that should not be used [qclasses]... 52 issues found
    ./widgets/filerequester.cpp:
QLineEdit[KLineEdit],QFileDialog[KFileDialog],QFileDialog[KFileDialog] (3)
    ./widgets/gradienteditor.cpp: QColorDialog[KColorDialog] (1)
    ./widgets/labellineedit.cpp: QLineEdit[KLineEdit] (1)
    ./widgets/datasourceselector.cpp: QLineEdit[KLineEdit] (1)
    ./widgets/combobox.h: QComboBox[KComboBox] (1)
    ./widgets/datasourceselectordialog.h: QFileDialog[KFileDialog] (1)
    ./widgets/colorbutton.cpp: QColorDialog[KColorDialog] (1)
    ./widgets/combobox.cpp: QLineEdit[KLineEdit] (1)
    ./widgets/datasourceselectordialog.cpp:
QMessageBox[KMessageBox],QFileDialog[KFileDialog] (2)
    ./widgets/labellineedit.h: QLineEdit[KLineEdit] (1)
    ./libkst/datasourcepluginmanager.cpp: QUrl[KUrl] (1)
    ./libkstapp/pictureitem.cpp: QFileDialog[KFileDialog] (1)
    ./libkstapp/dialog.cpp: QDialog[KDialog] (1)
    ./libkstapp/filterfitdialog.cpp: QMessageBox[KMessageBox] (1)
    ./libkstapp/svgitem.cpp: QFileDialog[KFileDialog] (1)
    ./libkstapp/datadialog.cpp: QLineEdit[KLineEdit] (1)
    ./libkstapp/logwidget.h: QTextBrowser[KTextBrowser] (1)
    ./libkstapp/choosecolordialog.cpp:
QDialog[KDialog],QLineEdit[KLineEdit],QLineEdit[KLineEdit] (3)
    ./libkstapp/mainwindow.cpp:
QMessageBox[KMessageBox],QFileDialog[KFileDialog],QMessageBox[KMessageBox],QFileDialog[KFileDialog],QMessageBox[KMessageBox]
(5)
    ./libkstapp/changefiledialog.cpp:
QDialog[KDialog],QMessageBox[KMessageBox],QMessageBox[KMessageBox],QMessageBox[KMessageBox]
(4)
    ./libkstapp/differentiatecurvesdialog.cpp: QDialog[KDialog] (1)
    ./libkstapp/dialogpage.cpp: QTabWidget[KTabWidget] (1)
    ./libkstapp/basicplugindialog.cpp: QMessageBox[KMessageBox] (1)
    ./libkstapp/viewitem.cpp: QInputDialog[KInputDialog] (1)
    ./libkstapp/datamanager.cpp: QDialog[KDialog] (1)
    ./libkstapp/viewvectordialog.cpp: QDialog[KDialog] (1)
    ./libkstapp/viewmatrixdialog.cpp: QDialog[KDialog] (1)
    ./libkstapp/markerstab.cpp:
QMessageBox[KMessageBox],QMessageBox[KMessageBox] (2)
    ./libkstapp/viewitemdialog.cpp: QLineEdit[KLineEdit] (1)
    ./libkstapp/changedatasampledialog.cpp: QDialog[KDialog] (1)
    ./libkstapp/view.cpp: QInputDialog[KInputDialog] (1)
    ./libkstapp/tabwidget.cpp:
QTabBar[KTabBar],QTabBar[KTabBar],QInputDialog[KInputDialog],QTabBar[KTabBar]
(4)
    ./libkstapp/debugdialog.cpp: QDialog[KDialog],QDialog[KDialog] (2)
    ./libkstapp/tabwidget.h: QTabWidget[KTabWidget] (1)
    ./libkstapp/datawizard.cpp: QMessageBox[KMessageBox] (1)
    Don't use Qt 4 classes that are deprecated. Additionally make sure
    to use the KDE version of some Qt GUI elements to provide a
    consistent look and feel for the KDE desktop. The KDE classes are
    not just adding functionalities to the Qt base class and are mostly
    not even based on the Qt class.
    <http://techbase.kde.org/Policies/API_to_Avoid> *Please* *refer*
    *to* *the* *API* *documentation* *for* *details* *before* *porting*
    *to* *the* *K* *classes*.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list