Commit 2480eae3 authored by Kåre Särs's avatar Kåre Särs
Browse files

Remove the TreeWidget

Still some FIXMEs to fix
parent f09ef161
This diff is collapsed.
......@@ -113,9 +113,7 @@ public Q_SLOTS:
void setCurrentFolder();
void setSearchPlace(int place);
void goToNextMatch();
void goToNextMatch2();
void goToPreviousMatch();
void goToPreviousMatch2();
private:
enum CopyResultType { AllExpanded, All };
......@@ -145,10 +143,7 @@ private Q_SLOTS:
void searchWhileTypingDone();
void indicateMatch(bool hasMatch);
void searching(const QString &file);
void itemSelected(QTreeWidgetItem *item);
void itemSelected2(const QModelIndex &item);
void itemSelected(const QModelIndex &item);
void clearMarks();
void clearDocMarks(KTextEditor::Document *doc);
......@@ -158,14 +153,12 @@ private Q_SLOTS:
void replaceDone();
void docViewChanged();
void updateMatchMarks();
void resultTabChanged(int index);
void expandResults();
void updateResultsRootItem();
/**
* keep track if the project plugin is alive and if the project file did change
*/
......@@ -178,7 +171,6 @@ private Q_SLOTS:
protected:
bool eventFilter(QObject *obj, QEvent *ev) override;
void addHeaderItem();
private:
void addMatchesToRootFileItem(const QUrl &url, const QList<QTreeWidgetItem *> &matchItems);
......@@ -208,7 +200,6 @@ private:
QString m_resultBaseDir;
QList<KTextEditor::MovingRange *> m_matchRanges;
QTimer m_changeTimer;
QTimer m_updateSumaryTimer;
QPointer<KTextEditor::Message> m_infoMessage;
QBrush m_searchBackgroundColor;
QBrush m_foregroundColor;
......
......@@ -23,27 +23,6 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QTreeWidget" name="tree">
<property name="uniformRowHeights">
<bool>true</bool>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
<attribute name="headerStretchLastSection">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
<item>
<widget class="QTreeView" name="treeView">
<property name="uniformRowHeights">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment