/* ============================================================ * * This file is a part of digiKam project * http://www.digikam.org * * Date : 2005-05-19 * Description : a dialog to perform simple search in albums * * Copyright (C) 2005 by Renchi Raju * Copyright (C) 2006-2008 by Gilles Caulier * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General * Public License as published by the Free Software Foundation; * either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * ============================================================ */ /** @file searchquickdialog.h */ #ifndef SEARCHQUICKDIALOG_H #define SEARCHQUICKDIALOG_H // TQt includes. #include // KDE includes. #include class KURL; namespace Digikam { class SearchQuickDialogPriv; /** @class SearchQuickDialog * * This is the dialog for the quick search * @author Renchi Raju * */ class SearchQuickDialog : public KDialogBase { TQ_OBJECT public: /** * Constructor * @param parent parent window * @param url holds the url for the search */ SearchQuickDialog(TQWidget* parent, KURL& url); /** * Destructor */ ~SearchQuickDialog(); protected: void hideEvent(TQHideEvent* e); private slots: void slotTimeOut(); void slotSearchChanged(const TQString&); private: KURL& m_url; SearchQuickDialogPriv* d; }; } // namespace Digikam #endif /* SEARCHQUICKDIALOG_H */