summaryrefslogtreecommitdiff
path: root/doc/examples/preferencepane/modifiedfilelistwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/preferencepane/modifiedfilelistwidget.cpp')
-rw-r--r--doc/examples/preferencepane/modifiedfilelistwidget.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/doc/examples/preferencepane/modifiedfilelistwidget.cpp b/doc/examples/preferencepane/modifiedfilelistwidget.cpp
deleted file mode 100644
index f9030a8a89..0000000000
--- a/doc/examples/preferencepane/modifiedfilelistwidget.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "modifiedfilelistwidget.h"
-
-#include <coreplugin/filemanager.h>
-#include <coreplugin/icore.h>
-#include <coreplugin/ifile.h>
-
-ModifiedFileListWidget::ModifiedFileListWidget(QWidget* parent):QListWidget(parent)
-{
- // Show the list of modified pages
- Core::FileManager* fm = Core::ICore::instance()->fileManager();
- QList<Core::IFile*> files = fm->modifiedFiles();
-
- for(int i=0; i<files.count();i++)
- this->addItem(files.at(i)->fileName());
-}
-
-ModifiedFileListWidget::~ModifiedFileListWidget()
-{
- //Do Nothing
-}