KIO
Go to the documentation of this file.
25 #include <QApplication>
44 QVBoxLayout *layout =
new QVBoxLayout( frame );
46 m_label =
new QLabel( label, frame );
47 layout->addWidget( m_label );
49 m_lineEdit =
new KLineEdit( value, frame );
50 layout->addWidget( m_lineEdit );
52 m_lineEdit->setFocus();
53 m_label->setBuddy( m_lineEdit );
55 layout->addWidget(
new QLabel(
i18n(
"Data format:" ), frame ) );
57 m_comboBox->addItems( items );
58 layout->addWidget( m_comboBox );
67 setMinimumWidth( 350 );
69 m_clipboardChanged =
false;
71 connect( QApplication::clipboard(), SIGNAL(dataChanged()),
72 this, SLOT(slotClipboardDataChanged()) );
75 void KIO::PasteDialog::slotClipboardDataChanged()
77 m_clipboardChanged =
true;
82 return m_lineEdit->text();
87 return m_comboBox->currentIndex();
90 #include "pastedialog.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sun Apr 28 2013 14:27:34 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.