1 /***************************************************************************
3 * This program is free software; you can redistribute it and/or modify *
4 * it under the terms of the GNU General Public License as published by *
5 * the Free Software Foundation; either version 2 of the License, or *
6 * (at your option) any later version. *
8 ***************************************************************************/
12 VncPrefs::VncPrefs(QWidget
*parent
) : QWidget( parent
)
17 void VncPrefs::setQuality( int quality
)
19 cmbQuality
->setCurrentIndex(quality
);
23 int VncPrefs::quality()
25 return cmbQuality
->currentIndex();
29 void VncPrefs::setShowPrefs( bool b
)
31 cbShowPrefs
->setChecked(b
);
35 int VncPrefs::showPrefs()
37 return cbShowPrefs
->isChecked();
41 void VncPrefs::setUseEncryption( bool b
)
43 cbUseEncryption
->setChecked(b
);
46 bool VncPrefs::useEncryption()
48 return cbUseEncryption
->isChecked();
51 void VncPrefs::setUseKWallet( bool b
)
53 cbUseKWallet
->setChecked(b
);
56 bool VncPrefs::useKWallet()
58 return cbUseKWallet
->isChecked();
61 #include "vncprefs.moc"