diff options
Diffstat (limited to 'filesharing/advanced/nfs')
-rw-r--r-- | filesharing/advanced/nfs/nfsdialog.cpp | 50 | ||||
-rw-r--r-- | filesharing/advanced/nfs/nfsdialog.h | 6 | ||||
-rw-r--r-- | filesharing/advanced/nfs/nfsentry.cpp | 46 | ||||
-rw-r--r-- | filesharing/advanced/nfs/nfsentry.h | 46 | ||||
-rw-r--r-- | filesharing/advanced/nfs/nfsfile.cpp | 46 | ||||
-rw-r--r-- | filesharing/advanced/nfs/nfsfile.h | 12 | ||||
-rw-r--r-- | filesharing/advanced/nfs/nfshostdlg.cpp | 38 | ||||
-rw-r--r-- | filesharing/advanced/nfs/nfshostdlg.h | 10 |
8 files changed, 127 insertions, 127 deletions
diff --git a/filesharing/advanced/nfs/nfsdialog.cpp b/filesharing/advanced/nfs/nfsdialog.cpp index ecf7a90b..926e3229 100644 --- a/filesharing/advanced/nfs/nfsdialog.cpp +++ b/filesharing/advanced/nfs/nfsdialog.cpp @@ -18,12 +18,12 @@ */ -#include <qradiobutton.h> -#include <qpushbutton.h> -#include <qgroupbox.h> -#include <qlineedit.h> -#include <qbuttongroup.h> -#include <qlayout.h> +#include <tqradiobutton.h> +#include <tqpushbutton.h> +#include <tqgroupbox.h> +#include <tqlineedit.h> +#include <tqbuttongroup.h> +#include <tqlayout.h> #include <kdebug.h> #include <kmessagebox.h> @@ -38,7 +38,7 @@ #include "nfsfile.h" #include "nfsdialoggui.h" -NFSDialog::NFSDialog(QWidget * parent, NFSEntry* entry) +NFSDialog::NFSDialog(TQWidget * parent, NFSEntry* entry) : KDialogBase(Plain, i18n("NFS Options"), Ok|Cancel, Ok, parent), m_nfsEntry(entry), m_modified(false) @@ -59,23 +59,23 @@ NFSDialog::~NFSDialog() } void NFSDialog::initGUI() { - QWidget* page = plainPage(); + TQWidget* page = plainPage(); m_gui = new NFSDialogGUI(page); - QVBoxLayout *layout = new QVBoxLayout( page ); + TQVBoxLayout *layout = new TQVBoxLayout( page ); layout->addWidget( m_gui ); KAccel* accel = new KAccel( m_gui->listView ); - accel->insert( "Delete", Qt::Key_Delete, this, SLOT(slotRemoveHost())); + accel->insert( "Delete", Qt::Key_Delete, this, TQT_SLOT(slotRemoveHost())); } void NFSDialog::initSlots() { - connect( m_gui->removeHostBtn, SIGNAL(clicked()), this, SLOT( slotRemoveHost())); - connect( m_gui->addHostBtn, SIGNAL(clicked()), this, SLOT( slotAddHost())); - connect( m_gui->modifyHostBtn, SIGNAL(clicked()), this, SLOT( slotModifyHost())); - connect( m_gui->listView, SIGNAL(doubleClicked(QListViewItem*)), - this, SLOT( slotModifyHost())); + connect( m_gui->removeHostBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT( slotRemoveHost())); + connect( m_gui->addHostBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT( slotAddHost())); + connect( m_gui->modifyHostBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT( slotModifyHost())); + connect( m_gui->listView, TQT_SIGNAL(doubleClicked(TQListViewItem*)), + this, TQT_SLOT( slotModifyHost())); } @@ -92,17 +92,17 @@ void NFSDialog::initListView() } } -QListViewItem* NFSDialog::createItemFromHost(NFSHost* host) +TQListViewItem* NFSDialog::createItemFromHost(NFSHost* host) { if (!host) return 0; - QListViewItem* item = new QListViewItem(m_gui->listView); + TQListViewItem* item = new TQListViewItem(m_gui->listView); updateItem(item, host); return item; } -void NFSDialog::updateItem(QListViewItem* item, NFSHost* host) +void NFSDialog::updateItem(TQListViewItem* item, NFSHost* host) { item->setText(0,host->name); item->setText(1,host->paramString()); @@ -123,7 +123,7 @@ void NFSDialog::slotAddHost() dlg->exec(); - if (dlg->result()==QDialog::Accepted) { + if (dlg->result()==TQDialog::Accepted) { m_workEntry->addHost(host); createItemFromHost(host); setModified(); @@ -143,13 +143,13 @@ void NFSDialog::slotOk() { void NFSDialog::slotRemoveHost() { - QPtrList<QListViewItem> items = m_gui->listView->selectedItems(); + TQPtrList<TQListViewItem> items = m_gui->listView->selectedItems(); if (items.count()==0) return; - QListViewItem *item; + TQListViewItem *item; for ( item = items.first(); item; item = items.next() ) { - QString name = item->text(0); + TQString name = item->text(0); m_gui->listView->takeItem(item); NFSHost* host = m_workEntry->getHostByName(name); @@ -169,13 +169,13 @@ void NFSDialog::slotRemoveHost() void NFSDialog::slotModifyHost() { - QPtrList<QListViewItem> items = m_gui->listView->selectedItems(); + TQPtrList<TQListViewItem> items = m_gui->listView->selectedItems(); if (items.count()==0) return; HostList hostList; - QListViewItem *item; + TQListViewItem *item; for ( item = items.first(); item; item = items.next() ) { NFSHost* host = m_workEntry->getHostByName(item->text(0)); @@ -187,7 +187,7 @@ void NFSDialog::slotModifyHost() } NFSHostDlg *dlg = new NFSHostDlg(this, &hostList, m_workEntry); - if (dlg->exec() == QDialog::Accepted && + if (dlg->exec() == TQDialog::Accepted && dlg->isModified()) { setModified(); diff --git a/filesharing/advanced/nfs/nfsdialog.h b/filesharing/advanced/nfs/nfsdialog.h index 1d6c2b02..571b262b 100644 --- a/filesharing/advanced/nfs/nfsdialog.h +++ b/filesharing/advanced/nfs/nfsdialog.h @@ -32,7 +32,7 @@ class NFSDialog : public KDialogBase { Q_OBJECT public: - NFSDialog(QWidget * parent, NFSEntry* entry); + NFSDialog(TQWidget * parent, NFSEntry* entry); ~NFSDialog(); bool modified(); protected: @@ -41,8 +41,8 @@ protected: NFSDialogGUI* m_gui; bool m_modified; - QListViewItem* createItemFromHost(NFSHost* host); - void updateItem(QListViewItem* item, NFSHost* host); + TQListViewItem* createItemFromHost(NFSHost* host); + void updateItem(TQListViewItem* item, NFSHost* host); void initGUI(); void initListView(); void initSlots(); diff --git a/filesharing/advanced/nfs/nfsentry.cpp b/filesharing/advanced/nfs/nfsentry.cpp index be741d0c..207e0eae 100644 --- a/filesharing/advanced/nfs/nfsentry.cpp +++ b/filesharing/advanced/nfs/nfsentry.cpp @@ -21,11 +21,11 @@ #include "nfsentry.h" -NFSHost::NFSHost(const QString & hostString) +NFSHost::NFSHost(const TQString & hostString) { readonly = true; - QString s = hostString; + TQString s = hostString; int l = s.find('('); int r = s.find(')'); @@ -42,7 +42,7 @@ NFSHost::NFSHost(const QString & hostString) if (l>=0 && r>=0) { - QString params = s.mid(l+1,r-l-1); + TQString params = s.mid(l+1,r-l-1); parseParamsString(params); } @@ -77,7 +77,7 @@ void NFSHost::initParams() } -void NFSHost::parseParamsString(const QString & s) +void NFSHost::parseParamsString(const TQString & s) { if (s.isEmpty()) @@ -85,8 +85,8 @@ void NFSHost::parseParamsString(const QString & s) int i; - QString rest = s; - QString p; + TQString rest = s; + TQString p; do { @@ -106,9 +106,9 @@ void NFSHost::parseParamsString(const QString & s) } -QString NFSHost::paramString() const +TQString NFSHost::paramString() const { - QString s; + TQString s; if (!readonly) s+="rw,"; if (!rootSquash) s+="no_root_squash,"; @@ -125,10 +125,10 @@ QString NFSHost::paramString() const if (!hide) s+="nohide,"; if (anongid!=65534) - s+=QString("anongid=%1,").arg(anongid); + s+=TQString("anongid=%1,").arg(anongid); if (anonuid!=65534) - s+=QString("anonuid=%1,").arg(anonuid); + s+=TQString("anonuid=%1,").arg(anonuid); // get rid of the last ',' s.truncate(s.length()-1); @@ -136,9 +136,9 @@ QString NFSHost::paramString() const return s; } -QString NFSHost::toString() const +TQString NFSHost::toString() const { - QString s = name; + TQString s = name; s+='('; s+=paramString(); @@ -173,9 +173,9 @@ bool NFSHost::isPublic() const { return name == "*"; } -void NFSHost::setParam(const QString & s) +void NFSHost::setParam(const TQString & s) { - QString p = s.lower(); + TQString p = s.lower(); if (p=="ro") { readonly = true; @@ -256,10 +256,10 @@ void NFSHost::setParam(const QString & s) // get anongid or anonuid if (i>-1) { - QString name = p.left(i).lower(); + TQString name = p.left(i).lower(); kdDebug(5009) << name << endl; - QString value = p.mid(i+1); + TQString value = p.mid(i+1); kdDebug(5009) << value << endl; if (name=="anongid") @@ -271,7 +271,7 @@ void NFSHost::setParam(const QString & s) } -NFSEntry::NFSEntry(const QString & path) +NFSEntry::NFSEntry(const TQString & path) { _hosts.setAutoDelete(true); setPath(path); @@ -302,9 +302,9 @@ void NFSEntry::copyFrom(NFSEntry* entry) { } } -QString NFSEntry::toString() const +TQString NFSEntry::toString() const { - QString s = _path.stripWhiteSpace(); + TQString s = _path.stripWhiteSpace(); if (_path.find(' ') > -1) { s = '"'+s+'"'; @@ -338,7 +338,7 @@ void NFSEntry::removeHost(NFSHost * host) _hosts.remove(host); } -NFSHost* NFSEntry::getHostByName(const QString & name) const +NFSHost* NFSEntry::getHostByName(const TQString & name) const { HostIterator it = getHosts(); NFSHost* host; @@ -360,7 +360,7 @@ NFSHost* NFSEntry::getPublicHost() const if (result) return result; - return getHostByName(QString::null); + return getHostByName(TQString::null); } @@ -369,12 +369,12 @@ HostIterator NFSEntry::getHosts() const return HostIterator(_hosts); } -QString NFSEntry::path() const +TQString NFSEntry::path() const { return _path; } -void NFSEntry::setPath(const QString & path) +void NFSEntry::setPath(const TQString & path) { _path = path; } diff --git a/filesharing/advanced/nfs/nfsentry.h b/filesharing/advanced/nfs/nfsentry.h index 42f3c5c5..43071504 100644 --- a/filesharing/advanced/nfs/nfsentry.h +++ b/filesharing/advanced/nfs/nfsentry.h @@ -21,14 +21,14 @@ #define NFSENTRY_H -#include <qstring.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqptrlist.h> class NFSHost { public: - NFSHost(const QString & hostString); + NFSHost(const TQString & hostString); ~NFSHost(); NFSHost(); @@ -45,55 +45,55 @@ public: int anonuid; int anongid; - QString name; + TQString name; - QString paramString() const; - QString toString() const; + TQString paramString() const; + TQString toString() const; bool isPublic() const; /** returns a copy of this host */ NFSHost* copy() const; protected: - void parseParamsString(const QString &); - void setParam(const QString &); + void parseParamsString(const TQString &); + void setParam(const TQString &); void initParams(); }; -typedef QPtrList<NFSHost> HostList; -typedef QPtrListIterator<NFSHost> HostIterator; +typedef TQPtrList<NFSHost> HostList; +typedef TQPtrListIterator<NFSHost> HostIterator; class NFSLine { public: - virtual QString toString() const = 0; + virtual TQString toString() const = 0; }; -typedef QPtrList<NFSLine> NFSLineList; -typedef QPtrListIterator<NFSLine> NFSLineIterator; +typedef TQPtrList<NFSLine> NFSLineList; +typedef TQPtrListIterator<NFSLine> NFSLineIterator; class NFSEmptyLine : public NFSLine { public: - virtual QString toString() const { return QString::fromLatin1("\n"); } + virtual TQString toString() const { return TQString::fromLatin1("\n"); } virtual ~NFSEmptyLine() {}; }; class NFSComment : public NFSLine { public: - NFSComment(const QString & s) { comment = s; } + NFSComment(const TQString & s) { comment = s; } virtual ~NFSComment() {}; - QString comment; - virtual QString toString() const { return comment; } + TQString comment; + virtual TQString toString() const { return comment; } }; class NFSEntry : public NFSLine { public: - NFSEntry(const QString & path); + NFSEntry(const TQString & path); virtual ~NFSEntry(); void addHost(NFSHost * host); void removeHost(NFSHost * host); - NFSHost* getHostByName(const QString & name) const; + NFSHost* getHostByName(const TQString & name) const; NFSHost* getPublicHost() const; HostIterator getHosts() const; @@ -107,14 +107,14 @@ public: /** removes all hosts */ void clear(); - QString path() const; - void setPath(const QString &); + TQString path() const; + void setPath(const TQString &); - virtual QString toString() const; + virtual TQString toString() const; protected: HostList _hosts; - QString _path; + TQString _path; }; #endif diff --git a/filesharing/advanced/nfs/nfsfile.cpp b/filesharing/advanced/nfs/nfsfile.cpp index 79fc732e..c61a393c 100644 --- a/filesharing/advanced/nfs/nfsfile.cpp +++ b/filesharing/advanced/nfs/nfsfile.cpp @@ -21,10 +21,10 @@ #include <time.h> #include <unistd.h> -#include <qfileinfo.h> -#include <qfile.h> -#include <qtextstream.h> -#include <qstringlist.h> +#include <tqfileinfo.h> +#include <tqfile.h> +#include <tqtextstream.h> +#include <tqstringlist.h> #include <kdebug.h> #include <kmessagebox.h> @@ -65,9 +65,9 @@ bool NFSFile::hasEntry(NFSEntry *entry) } -NFSEntry* NFSFile::getEntryByPath(const QString & path) +NFSEntry* NFSFile::getEntryByPath(const TQString & path) { - QString testPath = path.stripWhiteSpace(); + TQString testPath = path.stripWhiteSpace(); if ( testPath[testPath.length()-1] != '/' ) testPath += '/'; @@ -80,7 +80,7 @@ NFSEntry* NFSFile::getEntryByPath(const QString & path) return 0L; } -bool NFSFile::removeEntryByPath(const QString & path) { +bool NFSFile::removeEntryByPath(const TQString & path) { NFSEntry* entry = getEntryByPath(path); if (!entry) return false; @@ -99,7 +99,7 @@ EntryIterator NFSFile::getEntries() bool NFSFile::load() { - QFile f(_url.path()); + TQFile f(_url.path()); if ( !f.open(IO_ReadOnly) ) { kdError() << "NFSFile::load: Could not open " << _url.path() << endl; @@ -109,14 +109,14 @@ bool NFSFile::load() _entries.clear(); _lines.clear(); - QTextStream s( &f ); + TQTextStream s( &f ); bool continuedLine = false; // is true if the line before ended with a backslash - QString completeLine; + TQString completeLine; while ( !s.eof() ) { - QString currentLine = s.readLine().stripWhiteSpace(); + TQString currentLine = s.readLine().stripWhiteSpace(); if (continuedLine) { completeLine += currentLine; @@ -146,8 +146,8 @@ bool NFSFile::load() continue; } - QString path; - QString hosts; + TQString path; + TQString hosts; // Handle quotation marks if ( completeLine[0] == '"' ) { @@ -179,13 +179,13 @@ bool NFSFile::load() kdDebug(5009) << "KNFSShare: Found path: '" << path << "'" << endl; NFSEntry *entry = new NFSEntry(path); - QStringList hostList = QStringList::split(' ', hosts); + TQStringList hostList = TQStringList::split(' ', hosts); if (hostList.isEmpty()) { NFSHost* host = new NFSHost("*"); entry->addHost(host); } else { - QStringList::iterator it; + TQStringList::iterator it; for ( it = hostList.begin(); it != hostList.end(); ++it ) { NFSHost* host = new NFSHost((*it).stripWhiteSpace()); entry->addHost(host); @@ -205,8 +205,8 @@ bool NFSFile::load() } -void NFSFile::saveTo(QTextStream * stream) { - QPtrListIterator<NFSLine> it(_lines); +void NFSFile::saveTo(TQTextStream * stream) { + TQPtrListIterator<NFSLine> it(_lines); NFSLine *line; while ( (line = it.current()) != 0 ) { @@ -215,12 +215,12 @@ void NFSFile::saveTo(QTextStream * stream) { } } -bool NFSFile::saveTo(const QString& fileName) { - QFile file(fileName); +bool NFSFile::saveTo(const TQString& fileName) { + TQFile file(fileName); if (!file.open(IO_WriteOnly)) return false; - QTextStream stream(&file); + TQTextStream stream(&file); saveTo(&stream); file.close(); return true; @@ -228,7 +228,7 @@ bool NFSFile::saveTo(const QString& fileName) { bool NFSFile::save() { - if (QFileInfo(_url.path()).isWritable() ) { + if (TQFileInfo(_url.path()).isWritable() ) { saveTo(_url.path()); } else { @@ -240,14 +240,14 @@ bool NFSFile::save() KProcIO proc; - QString command = QString("cp %1 %2") + TQString command = TQString("cp %1 %2") .arg(KProcess::quote( tempFile.name() )) .arg(KProcess::quote( _url.path() )); if (restartNFSServer) command +=";exportfs -ra"; - if (!QFileInfo(_url.path()).isWritable() ) + if (!TQFileInfo(_url.path()).isWritable() ) proc<<"kdesu" << "-d" << "-c"<<command; if (!proc.start(KProcess::Block, true)) { diff --git a/filesharing/advanced/nfs/nfsfile.h b/filesharing/advanced/nfs/nfsfile.h index f48a0942..c46ce595 100644 --- a/filesharing/advanced/nfs/nfsfile.h +++ b/filesharing/advanced/nfs/nfsfile.h @@ -24,8 +24,8 @@ #include <kurl.h> #include "nfsentry.h" -typedef QPtrList<NFSEntry> EntryList; -typedef QPtrListIterator<NFSEntry> EntryIterator; +typedef TQPtrList<NFSEntry> EntryList; +typedef TQPtrListIterator<NFSEntry> EntryIterator; class QTextStream; @@ -37,13 +37,13 @@ public: void addEntry(NFSEntry *); void removeEntry(NFSEntry *); bool hasEntry(NFSEntry *); - NFSEntry* getEntryByPath(const QString &); - bool removeEntryByPath(const QString &); + NFSEntry* getEntryByPath(const TQString &); + bool removeEntryByPath(const TQString &); EntryIterator getEntries(); bool save(); - bool saveTo(const QString& fileName); - void saveTo(QTextStream * stream); + bool saveTo(const TQString& fileName); + void saveTo(TQTextStream * stream); bool load(); bool restartNFSServer; diff --git a/filesharing/advanced/nfs/nfshostdlg.cpp b/filesharing/advanced/nfs/nfshostdlg.cpp index 073170d6..b2205f25 100644 --- a/filesharing/advanced/nfs/nfshostdlg.cpp +++ b/filesharing/advanced/nfs/nfshostdlg.cpp @@ -15,11 +15,11 @@ * * ***************************************************************************/ -#include <qcheckbox.h> -#include <qlayout.h> -#include <qlineedit.h> -#include <qwhatsthis.h> -#include <qgroupbox.h> +#include <tqcheckbox.h> +#include <tqlayout.h> +#include <tqlineedit.h> +#include <tqwhatsthis.h> +#include <tqgroupbox.h> #include <klocale.h> #include <kdebug.h> @@ -32,19 +32,19 @@ #include "nfsentry.h" -NFSHostDlg::NFSHostDlg(QWidget* parent, HostList* hosts, NFSEntry* entry) +NFSHostDlg::NFSHostDlg(TQWidget* parent, HostList* hosts, NFSEntry* entry) : KDialogBase(Plain, i18n("Host Properties"), Ok|Cancel, Ok, parent), m_hosts(hosts), m_nfsEntry(entry), m_modified(false) { - QWidget* page = plainPage(); + TQWidget* page = plainPage(); m_gui = new HostProps(page); - QVBoxLayout *layout = new QVBoxLayout( page, 0, 6 ); + TQVBoxLayout *layout = new TQVBoxLayout( page, 0, 6 ); layout->addWidget( m_gui ); - connect( m_gui, SIGNAL(modified()), this, SLOT(setModified())); + connect( m_gui, TQT_SIGNAL(modified()), this, TQT_SLOT(setModified())); init(); @@ -96,11 +96,11 @@ void NFSHostDlg::setHostValues(NFSHost* host) { setCheckBoxValue(m_gui->syncChk, host->sync); setCheckBoxValue(m_gui->wdelayChk, ! host->wdelay); - setEditValue(m_gui->anonuidEdit,QString::number(host->anonuid)); - setEditValue(m_gui->anongidEdit,QString::number(host->anongid)); + setEditValue(m_gui->anonuidEdit,TQString::number(host->anonuid)); + setEditValue(m_gui->anongidEdit,TQString::number(host->anongid)); } -void NFSHostDlg::setEditValue(QLineEdit* edit, const QString & value) { +void NFSHostDlg::setEditValue(TQLineEdit* edit, const TQString & value) { if (edit->text().isEmpty()) return; @@ -108,11 +108,11 @@ void NFSHostDlg::setEditValue(QLineEdit* edit, const QString & value) { edit->setText(value); else if (edit->text() != value) - edit->setText(QString::null); + edit->setText(TQString::null); } -void NFSHostDlg::setCheckBoxValue(QCheckBox* chk, bool value) { - if (chk->state() == QButton::NoChange) +void NFSHostDlg::setCheckBoxValue(TQCheckBox* chk, bool value) { + if (chk->state() == TQButton::NoChange) return; if (chk->isChecked()) { @@ -153,7 +153,7 @@ bool NFSHostDlg::saveName(NFSHost* host) { } host->name="*"; } else { - QString name = m_gui->nameEdit->text().stripWhiteSpace(); + TQString name = m_gui->nameEdit->text().stripWhiteSpace(); if (name.isEmpty()) { KMessageBox::sorry(this, i18n("Please enter a hostname or an IP address.").arg(name), @@ -192,15 +192,15 @@ void NFSHostDlg::saveValues(NFSHost* host) { saveEditValue(host->anongid,m_gui->anongidEdit); } -void NFSHostDlg::saveEditValue(int & value, QLineEdit* edit) { +void NFSHostDlg::saveEditValue(int & value, TQLineEdit* edit) { if ( edit->text().isEmpty()) return; value = edit->text().toInt(); } -void NFSHostDlg::saveCheckBoxValue(bool & value, QCheckBox* chk, bool neg) { - if (chk->state() == QButton::NoChange) +void NFSHostDlg::saveCheckBoxValue(bool & value, TQCheckBox* chk, bool neg) { + if (chk->state() == TQButton::NoChange) return; if (neg) diff --git a/filesharing/advanced/nfs/nfshostdlg.h b/filesharing/advanced/nfs/nfshostdlg.h index 6580b2bd..9d1989e9 100644 --- a/filesharing/advanced/nfs/nfshostdlg.h +++ b/filesharing/advanced/nfs/nfshostdlg.h @@ -32,7 +32,7 @@ class NFSHostDlg : public KDialogBase { Q_OBJECT public: - NFSHostDlg(QWidget* parent, HostList* hosts, NFSEntry* entry); + NFSHostDlg(TQWidget* parent, HostList* hosts, NFSEntry* entry); virtual ~NFSHostDlg(); bool isModified(); protected: @@ -48,12 +48,12 @@ protected slots: private: void setHostValues(NFSHost* host); - void setEditValue(QLineEdit* edit, const QString & value); - void setCheckBoxValue(QCheckBox* chk, bool value); + void setEditValue(TQLineEdit* edit, const TQString & value); + void setCheckBoxValue(TQCheckBox* chk, bool value); bool saveName(NFSHost* host); void saveValues(NFSHost* host); - void saveEditValue(int & value, QLineEdit* edit); - void saveCheckBoxValue(bool & value, QCheckBox* chk, bool neg); + void saveEditValue(int & value, TQLineEdit* edit); + void saveCheckBoxValue(bool & value, TQCheckBox* chk, bool neg); }; #endif |