OSDN Git Service

lokalize: replace deprecated API fixing build when KDE_NO_DEPRECATED is used
authorIvailo Monev <xakepa10@gmail.com>
Sat, 24 Jan 2015 16:57:28 +0000 (16:57 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 24 Jan 2015 16:57:28 +0000 (16:57 +0000)
lokalize/src/prefs/prefs.h

index 6170e72..2bbd606 100644 (file)
@@ -25,7 +25,7 @@
 #define PREFS_H
 
 #include <QLineEdit>
-class KEditListBox;
+class KEditListWidget;
 class KLienEdit;
 
 namespace Kross {class ActionCollectionView;}
@@ -62,8 +62,8 @@ signals:
     void generalSettingsChanged();
 
 private:
-    KEditListBox* m_scriptsRelPrefWidget; //HACK to get relative filenames in the project file
-    KEditListBox* m_scriptsPrefWidget;
+    KEditListWidget* m_scriptsRelPrefWidget; //HACK to get relative filenames in the project file
+    KEditListWidget* m_scriptsPrefWidget;
     Kross::ActionCollectionView* m_projectActionsView;
     QWidget* m_mainWindowPtr;