Qtopia library API Documentation

finddialog.h

00001 /**********************************************************************
00002 ** Copyright (C) 2000-2002 Trolltech AS.  All rights reserved.
00003 **
00004 ** This file is part of the Qtopia Environment.
00005 **
00006 ** This file may be distributed and/or modified under the terms of the
00007 ** GNU General Public License version 2 as published by the Free Software
00008 ** Foundation and appearing in the file LICENSE.GPL included in the
00009 ** packaging of this file.
00010 **
00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00013 **
00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00015 **
00016 ** Contact info@trolltech.com if any conditions of this licensing are
00017 ** not clear to you.
00018 **
00019 **********************************************************************/
00020 
00021 
00022 //
00023 //   DO NOT ATTEMPT TO USE THIS CLASS
00024 //
00025 
00026 #ifndef __FINDDIALOG_H__
00027 #define __FINDDIALOG_H__
00028 
00029 #include <qdatetime.h>
00030 #include <qdialog.h>
00031 
00032 class FindWidget;
00033 
00034 class FindDialogPrivate;
00035 class FindDialog : public QDialog
00036 {
00037     Q_OBJECT
00038 public:
00039 
00040 // WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT
00041 //      have this class.
00042 #ifdef QTOPIA_INTERNAL_FD
00043 
00044     FindDialog( const QString &appName,
00045                 QWidget *parent = 0, const char *name = 0, bool modal = TRUE );
00046     ~FindDialog();
00047 #endif
00048 
00049     QString findText() const;
00050     void setUseDate( bool show );
00051     void setDate( const QDate &dt );
00052 
00053 public slots:
00054     void slotNotFound();
00055     void slotWrapAround();
00056 
00057 signals:
00058     void signalFindClicked( const QString &txt, bool caseSensitive,
00059                             bool backwards, int category );
00060     void signalFindClicked( const QString &txt, const QDate &dt,
00061                 bool caseSensitive, bool backwards, int category );
00062 
00063 private:
00064     FindWidget *fw;
00065     FindDialogPrivate *d;
00066 };
00067 
00068 #endif
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:05 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001