Changeset View
Changeset View
Standalone View
Standalone View
krusader/KViewer/panelviewer.h
Context not available. | |||||
93 | { | 93 | { | ||
---|---|---|---|---|---|
94 | Q_OBJECT | 94 | Q_OBJECT | ||
95 | public slots: | 95 | public slots: | ||
96 | virtual bool closeUrl(); | 96 | virtual bool closeUrl() Q_DECL_OVERRIDE; | ||
97 | 97 | | |||
98 | public: | 98 | public: | ||
99 | explicit PanelViewer(QWidget *parent, KrViewer::Mode mode = KrViewer::Default); | 99 | explicit PanelViewer(QWidget *parent, KrViewer::Mode mode = KrViewer::Default); | ||
100 | ~PanelViewer(); | 100 | ~PanelViewer(); | ||
101 | 101 | | |||
102 | virtual bool isEditor() { | 102 | virtual bool isEditor() Q_DECL_OVERRIDE { | ||
103 | return false; | 103 | return false; | ||
104 | } | 104 | } | ||
105 | 105 | | |||
106 | protected: | 106 | protected: | ||
107 | virtual void openFile(KFileItem fi); | 107 | virtual void openFile(KFileItem fi) Q_DECL_OVERRIDE; | ||
108 | virtual KParts::ReadOnlyPart* createPart(QString mimetype); | 108 | virtual KParts::ReadOnlyPart* createPart(QString mimetype) Q_DECL_OVERRIDE; | ||
109 | KParts::ReadOnlyPart* getDefaultPart(KFileItem fi); | 109 | KParts::ReadOnlyPart* getDefaultPart(KFileItem fi); | ||
110 | KParts::ReadOnlyPart* getHexPart(); | 110 | KParts::ReadOnlyPart* getHexPart(); | ||
111 | KParts::ReadOnlyPart* getListerPart(bool hexMode = false); | 111 | KParts::ReadOnlyPart* getListerPart(bool hexMode = false); | ||
Context not available. | |||||
116 | { | 116 | { | ||
117 | Q_OBJECT | 117 | Q_OBJECT | ||
118 | public: | 118 | public: | ||
119 | virtual bool isModified(); | 119 | virtual bool isModified() Q_DECL_OVERRIDE; | ||
120 | virtual bool isEditor() { | 120 | virtual bool isEditor() Q_DECL_OVERRIDE { | ||
121 | return true; | 121 | return true; | ||
122 | } | 122 | } | ||
123 | 123 | | |||
124 | static void configureDeps(); | 124 | static void configureDeps(); | ||
125 | 125 | | |||
126 | public slots: | 126 | public slots: | ||
127 | virtual bool closeUrl(); | 127 | virtual bool closeUrl() Q_DECL_OVERRIDE; | ||
128 | virtual bool queryClose(); | 128 | virtual bool queryClose() Q_DECL_OVERRIDE; | ||
129 | 129 | | |||
130 | public: | 130 | public: | ||
131 | explicit PanelEditor(QWidget *parent, KrViewer::Mode mode = KrViewer::Default); | 131 | explicit PanelEditor(QWidget *parent, KrViewer::Mode mode = KrViewer::Default); | ||
132 | ~PanelEditor(); | 132 | ~PanelEditor(); | ||
133 | 133 | | |||
134 | protected: | 134 | protected: | ||
135 | virtual void openFile(KFileItem fi); | 135 | virtual void openFile(KFileItem fi) Q_DECL_OVERRIDE; | ||
136 | virtual KParts::ReadOnlyPart* createPart(QString mimetype); | 136 | virtual KParts::ReadOnlyPart* createPart(QString mimetype) Q_DECL_OVERRIDE; | ||
137 | static QString missingKPartMsg(); | 137 | static QString missingKPartMsg(); | ||
138 | }; | 138 | }; | ||
139 | 139 | | |||
Context not available. |