Changeset View
Changeset View
Standalone View
Standalone View
kate/katemainwindow.h
Show First 20 Lines • Show All 277 Lines • ▼ Show 20 Line(s) | 226 | public: | |||
---|---|---|---|---|---|
278 | bool modNotificationEnabled() const { | 278 | bool modNotificationEnabled() const { | ||
279 | return m_modNotification; | 279 | return m_modNotification; | ||
280 | } | 280 | } | ||
281 | 281 | | |||
282 | void setModNotificationEnabled(bool e) { | 282 | void setModNotificationEnabled(bool e) { | ||
283 | m_modNotification = e; | 283 | m_modNotification = e; | ||
284 | } | 284 | } | ||
285 | 285 | | |||
286 | bool modCloseAfterLast() const { | ||||
287 | return m_modCloseAfterLast; | ||||
288 | } | ||||
289 | | ||||
290 | void setModCloseAfterLast(bool e) { | ||||
291 | m_modCloseAfterLast = e; | ||||
292 | } | ||||
293 | | ||||
286 | KRecentFilesAction *fileOpenRecent() const { | 294 | KRecentFilesAction *fileOpenRecent() const { | ||
287 | return m_fileOpenRecent; | 295 | return m_fileOpenRecent; | ||
288 | } | 296 | } | ||
289 | 297 | | |||
290 | // | 298 | // | ||
291 | // KTextEditor::MainWindow interface, get called by invokeMethod from our wrapper object! | 299 | // KTextEditor::MainWindow interface, get called by invokeMethod from our wrapper object! | ||
292 | // | 300 | // | ||
293 | public Q_SLOTS: | 301 | public Q_SLOTS: | ||
▲ Show 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | 490 | private Q_SLOTS: | |||
486 | void slotDocumentCloseSelected(const QList<KTextEditor::Document *> &); | 494 | void slotDocumentCloseSelected(const QList<KTextEditor::Document *> &); | ||
487 | private: | 495 | private: | ||
488 | /** | 496 | /** | ||
489 | * Notify about file modifications from other processes? | 497 | * Notify about file modifications from other processes? | ||
490 | */ | 498 | */ | ||
491 | bool m_modNotification; | 499 | bool m_modNotification; | ||
492 | 500 | | |||
493 | /** | 501 | /** | ||
502 | * Shutdown Kate after last file is closed | ||||
503 | */ | ||||
504 | bool m_modCloseAfterLast; | ||||
505 | | ||||
506 | /** | ||||
494 | * stacked widget containing the central area, aka view manager, quickopen, ... | 507 | * stacked widget containing the central area, aka view manager, quickopen, ... | ||
495 | */ | 508 | */ | ||
496 | QStackedWidget *m_mainStackedWidget; | 509 | QStackedWidget *m_mainStackedWidget; | ||
497 | 510 | | |||
498 | /** | 511 | /** | ||
499 | * quick open to fast switch documents | 512 | * quick open to fast switch documents | ||
500 | */ | 513 | */ | ||
501 | KateQuickOpen *m_quickOpen; | 514 | KateQuickOpen *m_quickOpen; | ||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |