qdirlineedit.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef QDIRLINEEDIT_H
00021
#define QDIRLINEEDIT_H
00022
00023
#include <qwidget.h>
00024
#include <qstring.h>
00025
00026
class QLineEdit;
00027
class QPushButton;
00028
00029
class QDirLineEdit :
public QWidget
00030 {
00031 Q_OBJECT;
00032
public:
00033 QDirLineEdit(
QWidget *parent = 0,
const char *name = 0);
00034 ~QDirLineEdit();
00035
00036
void setText(
const QString& txt);
00037
QString text();
00038
void setButtonText(
const QString& txt);
00039
void setFileEdit(
bool on =
true);
00040
00041
QSize sizeHint() const;
00042
00043 private slots:
00044
void buttonClicked();
00045
00046 private:
00047
QLineEdit *edit_;
00048
QPushButton *button_;
00049
bool fileedit_;
00050 };
00051
00052 #endif
This file is part of the documentation for kdeprint Library Version 3.3.0.