Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

hk_kdeclasses/hk_kdeclasses/hk_kdemessages.h

Go to the documentation of this file.
00001 // ****************************************************************************
00002 // copyright (c) 2000-2005 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.17 $
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 hk_string hk_kdedirectorydialog(const hk_string&);
00039 
00040 hk_string hk_kdefiledialog(const hk_string&,enum_operationmode);
00041 
00042 void hk_kdedatasourceenablefunction(void);
00043 
00044 void set_kdestandarddialogs(void);
00045 
00046 hk_string mimetype2driver(const hk_string& mimetype);
00047 
00048 class QVBoxLayout;
00049 class QHBoxLayout;
00050 class QGridLayout;
00051 class QLabel;
00052 class QLineEdit;
00053 class QPushButton;
00054 
00055 class hk_kdetextdialog : public QDialog
00056 {
00057     Q_OBJECT
00058 
00059 public:
00060     hk_kdetextdialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00061     ~hk_kdetextdialog();
00062 
00063     QLabel* textlabel;
00064     QLineEdit* textfield;
00065     QPushButton* buttonOk;
00066     QPushButton* buttonCancel;
00067 
00068 protected:
00069     QVBoxLayout* hk_kdetextdialogLayout;
00070     QHBoxLayout* Layout1;
00071 
00072 protected slots:
00073     virtual void languageChange();
00074     virtual void text_changed(const QString&);
00075 };
00076 
00077 #endif

Generated on Thu Mar 9 18:40:41 2006 for hk_classes by  doxygen 1.4.1