~ubuntu-branches/debian/sid/kde-baseapps/sid

« back to all changes in this revision

Viewing changes to konq-plugins/dirfilter/dirfilterplugin.h

  • Committer: Package Import Robot
  • Author(s): Modestas Vainius, Eshat Cakar, Pino Toscano
  • Date: 2012-06-09 22:18:08 UTC
  • mfrom: (4.2.1) (6.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20120609221808-h1l0ekd5qmb8nefr
Tags: 4:4.8.4-1
* New upstream release.

[ Eshat Cakar ]
* Add watch file.
* Bump kde-sc-dev-latest build dependency to version 4:4.8.4.
* Update installed files.

[ Pino Toscano ]
* Move files of the konqueror documentation from kde-baseapps-data to
  konqueror itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
   Copyright (C) 2000, 2001, 2002 Dawit Alemayehu <adawit@kde.org>
 
2
   Copyright (C) 2000-2011 Dawit Alemayehu <adawit@kde.org>
3
3
 
4
4
   This library is free software; you can redistribute it and/or
5
5
   modify it under the terms of the GNU Library General Public
16
16
   Boston, MA 02110-1301, USA.
17
17
*/
18
18
 
19
 
#ifndef __DIR_FILTER_PLUGIN_H
20
 
#define __DIR_FILTER_PLUGIN_H
 
19
#ifndef DIR_FILTER_PLUGIN_H
 
20
#define DIR_FILTER_PLUGIN_H
21
21
 
22
 
#include <qset.h>
23
 
#include <qstringlist.h>
 
22
#include <QtCore/QSet>
 
23
#include <QtCore/QStringList>
24
24
 
25
25
#include <kparts/plugin.h>
26
26
 
34
34
    class ReadOnlyPart;
35
35
}
36
36
 
37
 
namespace KIO
38
 
{
39
 
  }
40
 
 
41
37
class SessionManager
42
38
{
43
39
public:
74
70
 
75
71
  struct MimeInfo
76
72
  {
77
 
    MimeInfo()
78
 
    {
79
 
      action = 0;
80
 
      useAsFilter = false;
81
 
    };
 
73
    MimeInfo() : action(0), useAsFilter(false) {}
82
74
 
83
75
    QAction *action;
84
76
    bool useAsFilter;
103
95
  void slotItemSelected(QAction*);
104
96
  void slotItemRemoved(const KFileItem &);
105
97
  void slotItemsAdded(const KFileItemList &);
106
 
  void slotFilterTextEdited(const QString &);
107
98
 
108
99
private:
109
100
  KUrl m_pURL;
110
101
  KParts::ReadOnlyPart* m_part;
111
102
  KActionMenu* m_pFilterMenu;
112
 
  KDirLister* m_dirModel;
 
103
  KDirLister* m_dirLister;
113
104
 
114
105
  typedef QMap<QString,MimeInfo> MimeInfoMap;
115
106
  MimeInfoMap m_pMimeInfo;