mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
gwenview: remove redudant tag code
This commit is contained in:
parent
7640d57d72
commit
442f11ec1b
3 changed files with 0 additions and 48 deletions
|
@ -98,8 +98,6 @@ struct StartMainPagePrivate : public Ui_StartMainPage
|
|||
|
||||
void setupSearchUi()
|
||||
{
|
||||
mTagView->hide();
|
||||
mTagLabel->hide();
|
||||
}
|
||||
|
||||
void updateHistoryTab()
|
||||
|
@ -157,10 +155,6 @@ StartMainPage::StartMainPage(QWidget* parent, GvCore* gvCore)
|
|||
connect(d->mBookmarksView, SIGNAL(urlChanged(KUrl)),
|
||||
SIGNAL(urlSelected(KUrl)));
|
||||
|
||||
// Tag view
|
||||
connect(d->mTagView, SIGNAL(clicked(QModelIndex)),
|
||||
SLOT(slotTagViewClicked(QModelIndex)));
|
||||
|
||||
// Recent folder view
|
||||
connect(d->mRecentFoldersView, SIGNAL(indexActivated(QModelIndex)),
|
||||
SLOT(slotListViewActivated(QModelIndex)));
|
||||
|
@ -197,10 +191,6 @@ StartMainPage::~StartMainPage()
|
|||
delete d;
|
||||
}
|
||||
|
||||
void StartMainPage::slotTagViewClicked(const QModelIndex& index)
|
||||
{
|
||||
}
|
||||
|
||||
void StartMainPage::applyPalette(const QPalette& newPalette)
|
||||
{
|
||||
QColor fgColor = newPalette.text().color();
|
||||
|
@ -214,7 +204,6 @@ void StartMainPage::applyPalette(const QPalette& newPalette)
|
|||
setPalette(pal);
|
||||
|
||||
initViewPalette(d->mBookmarksView, fgColor);
|
||||
initViewPalette(d->mTagView, fgColor);
|
||||
initViewPalette(d->mRecentFoldersView, fgColor);
|
||||
initViewPalette(d->mRecentUrlsView, fgColor);
|
||||
}
|
||||
|
|
|
@ -63,7 +63,6 @@ protected:
|
|||
private Q_SLOTS:
|
||||
void slotListViewActivated(const QModelIndex& index);
|
||||
void showRecentFoldersViewContextMenu(const QPoint& pos);
|
||||
void slotTagViewClicked(const QModelIndex& index);
|
||||
|
||||
private:
|
||||
StartMainPagePrivate* const d;
|
||||
|
|
|
@ -127,42 +127,6 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tagsTab">
|
||||
<attribute name="title">
|
||||
<string>Tags</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="mTagLabel">
|
||||
<property name="text">
|
||||
<string>Browsing by tags is not available. Make sure Nepomuk is properly installed on your computer.</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QListView" name="mTagView">
|
||||
<property name="cursor" stdset="0">
|
||||
<cursorShape>PointingHandCursor</cursorShape>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>32</width>
|
||||
<height>32</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
|
Loading…
Add table
Reference in a new issue