~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/libs/widgets/common/searchtextbar.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.2.15 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080717202539-6n7dtirbkoo7qvhd
Tags: 2:0.9.4-1
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Date        : 2007-11-25
7
7
 * Description : a bar used to search a string.
8
8
 * 
9
 
 * Copyright (C) 2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
9
 * Copyright (C) 2007-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
10
 *
11
11
 * This program is free software; you can redistribute it
12
12
 * and/or modify it under the terms of the GNU General
67
67
 
68
68
private :
69
69
 
70
 
    DLineEditPriv* d;    
 
70
    DLineEditPriv* d;
71
71
};
72
72
 
73
73
class DIGIKAM_EXPORT SearchTextBar : public QWidget
76
76
 
77
77
public:
78
78
 
79
 
    SearchTextBar(QWidget *parent=0, const QString &msg=i18n("Search..."));
 
79
    SearchTextBar(QWidget *parent, const char* name, const QString &msg=i18n("Search..."));
80
80
    ~SearchTextBar();
81
81
 
82
82
    void setText(const QString& text);
83
83
    QString text() const;
84
84
 
 
85
    void setEnableTextQueryCompletion(bool b);
 
86
    bool textQueryCompletion() const;
 
87
 
 
88
    DLineEdit *lineEdit() const;
 
89
 
85
90
signals:
86
 
    
87
 
    void signalTextChanged(const QString&);    
 
91
 
 
92
    void signalTextChanged(const QString&);
88
93
 
89
94
public slots:
90
95
 
96
101
 
97
102
private :
98
103
 
99
 
    SearchTextBarPriv* d;    
 
104
    SearchTextBarPriv* d;
100
105
};
101
106
 
102
107
}  // namespace Digikam