Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

hk_kdemessages.h

00001 // ****************************************************************************
00002 // copyright (c) 2000-2004 Horst Knorr <hk_classes@knoda.org>  
00003 // This file is part of the hk_kdeclasses library.
00004 // This file may be distributed and/or modified under the terms of the
00005 // GNU Library Public License version 2 as published by the Free Software
00006 // Foundation and appearing in the file LGPL included in the
00007 // packaging of this file.
00008 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00009 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00010 // ****************************************************************************
00011 //$Revision: 1.12 $
00012 
00013 #ifndef HK_KDEMESSAGES
00014 #define HK_KDEMESSAGES
00015 #include <hk_definitions.h>
00016 #include <hk_connection.h>
00017 #include <qdialog.h>
00018 
00022 void hk_kdewarning(const hk_string& w);
00026 bool hk_kdeyesno_dialog(const hk_string& w,bool default_return);
00030 void hk_kdepassworddlg(hk_connection*,struct_connectionfields* c);
00031 
00032 hk_string hk_kdetranslate(const hk_string& t);
00033 
00034 hk_string hk_kdedriverselectdialog(void);
00035 
00036 hk_string hk_kdestringvaluedialog(const hk_string&);
00037 
00038 void set_kdestandarddialogs(void);
00039 
00040 class QVBoxLayout;
00041 class QHBoxLayout;
00042 class QGridLayout;
00043 class QLabel;
00044 class QLineEdit;
00045 class QPushButton;
00046 
00047 class hk_kdetextdialog : public QDialog
00048 {
00049     Q_OBJECT
00050 
00051 public:
00052     hk_kdetextdialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00053     ~hk_kdetextdialog();
00054 
00055     QLabel* textlabel;
00056     QLineEdit* textfield;
00057     QPushButton* buttonOk;
00058     QPushButton* buttonCancel;
00059 
00060 protected:
00061     QVBoxLayout* hk_kdetextdialogLayout;
00062     QHBoxLayout* Layout1;
00063 
00064 protected slots:
00065     virtual void languageChange();
00066     virtual void text_changed(const QString&);
00067 };
00068 
00069 #endif

Generated on Tue Mar 22 23:28:15 2005 for Databasehandlingdialogclasses by  doxygen 1.4.1