6 #include <kconfigskeleton.h>
9 #include <KGlobalSettings>
23 if (!
self()->isImmutable( QString::fromLatin1(
"HeaderState" ) ))
24 self()->mHeaderState = v;
33 return self()->mHeaderState;
42 if (!
self()->isImmutable( QString::fromLatin1(
"TransferSettingsHeaderState" ) ))
43 self()->mTransferSettingsHeaderState = v;
52 return self()->mTransferSettingsHeaderState;
61 if (!
self()->isImmutable( QString::fromLatin1(
"VerificationHeaderState" ) ))
62 self()->mVerificationHeaderState = v;
71 return self()->mVerificationHeaderState;
80 if (!
self()->isImmutable( QString::fromLatin1(
"AutoPasteHeaderState" ) ))
81 self()->mAutoPasteHeaderState = v;
90 return self()->mAutoPasteHeaderState;
99 if (!
self()->isImmutable( QString::fromLatin1(
"ShowMain" ) ))
100 self()->mShowMain = v;
109 return self()->mShowMain;
118 if (!
self()->isImmutable( QString::fromLatin1(
"ShowIndividual" ) ))
119 self()->mShowIndividual = v;
128 return self()->mShowIndividual;
137 if (!
self()->isImmutable( QString::fromLatin1(
"DockifyIndividual" ) ))
138 self()->mDockifyIndividual = v;
147 return self()->mDockifyIndividual;
156 if (!
self()->isImmutable( QString::fromLatin1(
"ShowDropTarget" ) ))
157 self()->mShowDropTarget = v;
166 return self()->mShowDropTarget;
175 if (!
self()->isImmutable( QString::fromLatin1(
"AnimateDropTarget" ) ))
176 self()->mAnimateDropTarget = v;
185 return self()->mAnimateDropTarget;
194 if (!
self()->isImmutable( QString::fromLatin1(
"KonquerorIntegration" ) ))
195 self()->mKonquerorIntegration = v;
204 return self()->mKonquerorIntegration;
213 if (!
self()->isImmutable( QString::fromLatin1(
"AutoPaste" ) ))
214 self()->mAutoPaste = v;
223 return self()->mAutoPaste;
232 if (!
self()->isImmutable( QString::fromLatin1(
"AutoPasteCaseSensitive" ) ))
233 self()->mAutoPasteCaseSensitive = v;
242 return self()->mAutoPasteCaseSensitive;
251 if (!
self()->isImmutable( QString::fromLatin1(
"AutoPastePatterns" ) ))
252 self()->mAutoPastePatterns = v;
261 return self()->mAutoPastePatterns;
270 if (!
self()->isImmutable( QString::fromLatin1(
"AutoPasteTypes" ) ))
271 self()->mAutoPasteTypes = v;
280 return self()->mAutoPasteTypes;
289 if (!
self()->isImmutable( QString::fromLatin1(
"AutoPastePatternSyntaxes" ) ))
290 self()->mAutoPastePatternSyntaxes = v;
299 return self()->mAutoPastePatternSyntaxes;
308 if (!
self()->isImmutable( QString::fromLatin1(
"TimedDownload" ) ))
309 self()->mTimedDownload = v;
318 return self()->mTimedDownload;
327 if (!
self()->isImmutable( QString::fromLatin1(
"TimedDownloadDateTime" ) ))
328 self()->mTimedDownloadDateTime = v;
337 return self()->mTimedDownloadDateTime;
346 if (!
self()->isImmutable( QString::fromLatin1(
"TimedDisconnect" ) ))
347 self()->mTimedDisconnect = v;
356 return self()->mTimedDisconnect;
365 if (!
self()->isImmutable( QString::fromLatin1(
"TimedDisconnectDateTime" ) ))
366 self()->mTimedDisconnectDateTime = v;
375 return self()->mTimedDisconnectDateTime;
384 if (!
self()->isImmutable( QString::fromLatin1(
"EnableSystemTray" ) ))
385 self()->mEnableSystemTray = v;
394 return self()->mEnableSystemTray;
403 if (!
self()->isImmutable( QString::fromLatin1(
"AfterFinishActionEnabled" ) ))
404 self()->mAfterFinishActionEnabled = v;
413 return self()->mAfterFinishActionEnabled;
422 if (!
self()->isImmutable( QString::fromLatin1(
"AfterFinishAction" ) ))
423 self()->mAfterFinishAction = v;
432 return self()->mAfterFinishAction;
441 if (!
self()->isImmutable( QString::fromLatin1(
"EnableKUIServerIntegration" ) ))
442 self()->mEnableKUIServerIntegration = v;
451 return self()->mEnableKUIServerIntegration;
460 if (!
self()->isImmutable( QString::fromLatin1(
"ExportSingleTransfer" ) ))
461 self()->mExportSingleTransfer = v;
470 return self()->mExportSingleTransfer;
479 if (!
self()->isImmutable( QString::fromLatin1(
"ExportGlobalJob" ) ))
480 self()->mExportGlobalJob = v;
489 return self()->mExportGlobalJob;
498 if (!
self()->isImmutable( QString::fromLatin1(
"HistoryBackend" ) ))
499 self()->mHistoryBackend = v;
508 return self()->mHistoryBackend;
517 if (!
self()->isImmutable( QString::fromLatin1(
"StartupAction" ) ))
518 self()->mStartupAction = v;
527 return self()->mStartupAction;
536 if (!
self()->isImmutable( QString::fromLatin1(
"FilesAlwaysAsk" ) ))
537 self()->mFilesAlwaysAsk = v;
546 return self()->mFilesAlwaysAsk;
555 if (!
self()->isImmutable( QString::fromLatin1(
"FilesAutomaticRename" ) ))
556 self()->mFilesAutomaticRename = v;
565 return self()->mFilesAutomaticRename;
574 if (!
self()->isImmutable( QString::fromLatin1(
"FilesOverwrite" ) ))
575 self()->mFilesOverwrite = v;
584 return self()->mFilesOverwrite;
593 if (!
self()->isImmutable( QString::fromLatin1(
"MaxConnections" ) ))
594 self()->mMaxConnections = v;
603 return self()->mMaxConnections;
612 if (!
self()->isImmutable( QString::fromLatin1(
"SpeedLimit" ) ))
613 self()->mSpeedLimit = v;
622 return self()->mSpeedLimit;
631 if (!
self()->isImmutable( QString::fromLatin1(
"TransferSpeedLimit" ) ))
632 self()->mTransferSpeedLimit = v;
641 return self()->mTransferSpeedLimit;
650 if (!
self()->isImmutable( QString::fromLatin1(
"GlobalDownloadLimit" ) ))
651 self()->mGlobalDownloadLimit = v;
660 return self()->mGlobalDownloadLimit;
669 if (!
self()->isImmutable( QString::fromLatin1(
"GlobalUploadLimit" ) ))
670 self()->mGlobalUploadLimit = v;
679 return self()->mGlobalUploadLimit;
688 if (!
self()->isImmutable( QString::fromLatin1(
"ReconnectOnBroken" ) ))
689 self()->mReconnectOnBroken = v;
698 return self()->mReconnectOnBroken;
707 if (!
self()->isImmutable( QString::fromLatin1(
"ReconnectRetries" ) ))
708 self()->mReconnectRetries = v;
717 return self()->mReconnectRetries;
726 if (!
self()->isImmutable( QString::fromLatin1(
"ReconnectDelay" ) ))
727 self()->mReconnectDelay = v;
736 return self()->mReconnectDelay;
745 if (!
self()->isImmutable( QString::fromLatin1(
"WebinterfaceEnabled" ) ))
746 self()->mWebinterfaceEnabled = v;
755 return self()->mWebinterfaceEnabled;
764 if (!
self()->isImmutable( QString::fromLatin1(
"WebinterfacePort" ) ))
765 self()->mWebinterfacePort = v;
774 return self()->mWebinterfacePort;
783 if (!
self()->isImmutable( QString::fromLatin1(
"WebinterfaceUser" ) ))
784 self()->mWebinterfaceUser = v;
793 return self()->mWebinterfaceUser;
802 if (!
self()->isImmutable( QString::fromLatin1(
"DirectoriesAsSuggestion" ) ))
803 self()->mDirectoriesAsSuggestion = v;
812 return self()->mDirectoriesAsSuggestion;
821 if (!
self()->isImmutable( QString::fromLatin1(
"AskForDestination" ) ))
822 self()->mAskForDestination = v;
831 return self()->mAskForDestination;
840 if (!
self()->isImmutable( QString::fromLatin1(
"MainPosition" ) ))
841 self()->mMainPosition = v;
850 return self()->mMainPosition;
859 if (!
self()->isImmutable( QString::fromLatin1(
"MainState" ) ))
860 self()->mMainState = v;
869 return self()->mMainState;
878 if (!
self()->isImmutable( QString::fromLatin1(
"DropPosition" ) ))
879 self()->mDropPosition = v;
888 return self()->mDropPosition;
897 if (!
self()->isImmutable( QString::fromLatin1(
"DropSticky" ) ))
898 self()->mDropSticky = v;
907 return self()->mDropSticky;
916 if (!
self()->isImmutable( QString::fromLatin1(
"FirstRun" ) ))
917 self()->mFirstRun = v;
926 return self()->mFirstRun;
935 if (!
self()->isImmutable( QString::fromLatin1(
"LastDirectory" ) ))
936 self()->mLastDirectory = v;
945 return self()->mLastDirectory;
954 if (!
self()->isImmutable( QString::fromLatin1(
"LastGroup" ) ))
955 self()->mLastGroup = v;
964 return self()->mLastGroup;
973 if (!
self()->isImmutable( QString::fromLatin1(
"LinkViewFilterPatternSyntax" ) ))
974 self()->mLinkViewFilterPatternSyntax = v;
983 return self()->mLinkViewFilterPatternSyntax;
992 if (!
self()->isImmutable( QString::fromLatin1(
"HistoryColumnWidths" ) ))
993 self()->mHistoryColumnWidths = v;
1002 return self()->mHistoryColumnWidths;
1011 if (!
self()->isImmutable( QString::fromLatin1(
"ChecksumAutomaticVerification" ) ))
1012 self()->mChecksumAutomaticVerification = v;
1021 return self()->mChecksumAutomaticVerification;
1030 if (!
self()->isImmutable( QString::fromLatin1(
"ChecksumStrength" ) ))
1031 self()->mChecksumStrength = v;
1040 return self()->mChecksumStrength;
1049 if (!
self()->isImmutable( QString::fromLatin1(
"SignatureAutomaticVerification" ) ))
1050 self()->mSignatureAutomaticVerification = v;
1059 return self()->mSignatureAutomaticVerification;
1068 if (!
self()->isImmutable( QString::fromLatin1(
"SignatureAutomaticDownloading" ) ))
1069 self()->mSignatureAutomaticDownloading = v;
1078 return self()->mSignatureAutomaticDownloading;
1087 if (!
self()->isImmutable( QString::fromLatin1(
"SignatureKeyServers" ) ))
1088 self()->mSignatureKeyServers = v;
1097 return self()->mSignatureKeyServers;
1102 friend class SettingsHelper;
static void setTransferSettingsHeaderState(const QString &v)
Set TransferSettingsHeaderState.
static void setHistoryBackend(int v)
Set HistoryBackend.
static int reconnectRetries()
Get ReconnectRetries.
static bool dropSticky()
Get DropSticky.
QString mWebinterfaceUser
static void setFilesAutomaticRename(bool v)
Set FilesAutomaticRename.
bool mDirectoriesAsSuggestion
QStringList mAutoPastePatterns
static bool autoPaste()
Get AutoPaste.
static void setVerificationHeaderState(const QString &v)
Set VerificationHeaderState.
static bool enableKUIServerIntegration()
Get EnableKUIServerIntegration.
static void setDropPosition(const QPoint &v)
Set DropPosition.
static void setKonquerorIntegration(bool v)
Set KonquerorIntegration.
static void setAutoPasteTypes(const QList< int > &v)
Set AutoPasteTypes.
static bool exportSingleTransfer()
Get ExportSingleTransfer.
static void setMainState(int v)
Set MainState.
static void setReconnectRetries(int v)
Set ReconnectRetries.
static void setExportSingleTransfer(bool v)
Set ExportSingleTransfer.
static void setEnableSystemTray(bool v)
Set EnableSystemTray.
static QPoint dropPosition()
Get DropPosition.
static int checksumStrength()
Get ChecksumStrength.
static void setAskForDestination(bool v)
Set AskForDestination.
static bool showMain()
Get ShowMain.
static QList< int > autoPastePatternSyntaxes()
Get AutoPastePatternSyntaxes.
static int globalUploadLimit()
Get GlobalUploadLimit.
static QString transferSettingsHeaderState()
Get TransferSettingsHeaderState.
static void setAnimateDropTarget(bool v)
Set AnimateDropTarget.
static bool konquerorIntegration()
Get KonquerorIntegration.
static bool dockifyIndividual()
Get DockifyIndividual.
static void setAfterFinishAction(int v)
Set AfterFinishAction.
static bool directoriesAsSuggestion()
Get DirectoriesAsSuggestion.
static QList< int > autoPasteTypes()
Get AutoPasteTypes.
static void setChecksumAutomaticVerification(bool v)
Set ChecksumAutomaticVerification.
static QString lastDirectory()
Get LastDirectory.
static bool filesAlwaysAsk()
Get FilesAlwaysAsk.
static bool speedLimit()
Get SpeedLimit.
int mLinkViewFilterPatternSyntax
static void setFilesAlwaysAsk(bool v)
Set FilesAlwaysAsk.
static void setHistoryColumnWidths(const QList< int > &v)
Set The width of the columns in the history view.
static QPoint mainPosition()
Get MainPosition.
static bool checksumAutomaticVerification()
Get ChecksumAutomaticVerification.
static int transferSpeedLimit()
Get TransferSpeedLimit.
static QDateTime timedDownloadDateTime()
Get TimedDownloadDateTime.
static QList< int > historyColumnWidths()
Get The width of the columns in the history view.
static bool autoPasteCaseSensitive()
Get AutoPasteCaseSensitive.
static bool afterFinishActionEnabled()
Get AfterFinishActionEnabled.
static void setReconnectOnBroken(bool v)
Set ReconnectOnBroken.
static int reconnectDelay()
Get ReconnectDelay.
static void setSignatureKeyServers(const QStringList &v)
Set SignatureKeyServers.
static QStringList autoPastePatterns()
Get AutoPastePatterns.
static int mainState()
Get MainState.
static void setLinkViewFilterPatternSyntax(int v)
Set LinkViewFilterPatternSyntax.
static void setFirstRun(bool v)
Set FirstRun.
QList< int > mHistoryColumnWidths
QString mAutoPasteHeaderState
QDateTime mTimedDownloadDateTime
static bool showIndividual()
Get ShowIndividual.
bool mFilesAutomaticRename
static QDateTime timedDisconnectDateTime()
Get TimedDisconnectDateTime.
static bool filesAutomaticRename()
Get FilesAutomaticRename.
static bool timedDownload()
Get TimedDownload.
static void setShowDropTarget(bool v)
Set ShowDropTarget.
static void setGlobalDownloadLimit(int v)
Set GlobalDownloadLimit.
static bool exportGlobalJob()
Get ExportGlobalJob.
static void setEnableKUIServerIntegration(bool v)
Set EnableKUIServerIntegration.
static void setAutoPastePatterns(const QStringList &v)
Set AutoPastePatterns.
static int linkViewFilterPatternSyntax()
Get LinkViewFilterPatternSyntax.
static void setFilesOverwrite(bool v)
Set FilesOverwrite.
static void setAutoPaste(bool v)
Set AutoPaste.
static QStringList signatureKeyServers()
Get SignatureKeyServers.
static void setAutoPasteCaseSensitive(bool v)
Set AutoPasteCaseSensitive.
static void setTimedDisconnect(bool v)
Set TimedDisconnect.
static bool timedDisconnect()
Get TimedDisconnect.
static void setDockifyIndividual(bool v)
Set DockifyIndividual.
static void setMainPosition(const QPoint &v)
Set MainPosition.
static void setDirectoriesAsSuggestion(bool v)
Set DirectoriesAsSuggestion.
static QString verificationHeaderState()
Get VerificationHeaderState.
static void setAutoPastePatternSyntaxes(const QList< int > &v)
Set AutoPastePatternSyntaxes.
static QString webinterfaceUser()
Get WebinterfaceUser.
static void setWebinterfacePort(int v)
Set WebinterfacePort.
static bool askForDestination()
Get AskForDestination.
QList< int > mAutoPastePatternSyntaxes
static int maxConnections()
Get MaxConnections.
QString mVerificationHeaderState
static bool enableSystemTray()
Get EnableSystemTray.
static void setTimedDownloadDateTime(const QDateTime &v)
Set TimedDownloadDateTime.
static void setTimedDownload(bool v)
Set TimedDownload.
static int globalDownloadLimit()
Get GlobalDownloadLimit.
bool mExportSingleTransfer
static QString lastGroup()
Get LastGroup.
static void setChecksumStrength(int v)
Set ChecksumStrength.
static bool filesOverwrite()
Get FilesOverwrite.
bool mSignatureAutomaticDownloading
static bool signatureAutomaticVerification()
Get SignatureAutomaticVerification.
static void setReconnectDelay(int v)
Set ReconnectDelay.
bool mSignatureAutomaticVerification
static void setShowMain(bool v)
Set ShowMain.
static void setSignatureAutomaticDownloading(bool v)
Set SignatureAutomaticDownloading.
static void setGlobalUploadLimit(int v)
Set GlobalUploadLimit.
static void setSignatureAutomaticVerification(bool v)
Set SignatureAutomaticVerification.
static void setAfterFinishActionEnabled(bool v)
Set AfterFinishActionEnabled.
bool mEnableKUIServerIntegration
static int historyBackend()
Get HistoryBackend.
static void setLastGroup(const QString &v)
Set LastGroup.
static void setAutoPasteHeaderState(const QString &v)
Set AutoPasteHeaderState.
static bool webinterfaceEnabled()
Get WebinterfaceEnabled.
bool mWebinterfaceEnabled
static int afterFinishAction()
Get AfterFinishAction.
static bool animateDropTarget()
Get AnimateDropTarget.
static bool showDropTarget()
Get ShowDropTarget.
static bool firstRun()
Get FirstRun.
static void setDropSticky(bool v)
Set DropSticky.
bool mKonquerorIntegration
static void setHeaderState(const QString &v)
Set HeaderState.
static void setShowIndividual(bool v)
Set ShowIndividual.
static void setStartupAction(int v)
Set StartupAction.
bool mAutoPasteCaseSensitive
static void setWebinterfaceEnabled(bool v)
Set WebinterfaceEnabled.
static void setWebinterfaceUser(const QString &v)
Set WebinterfaceUser.
static void setMaxConnections(int v)
Set MaxConnections.
static bool reconnectOnBroken()
Get ReconnectOnBroken.
static int startupAction()
Get StartupAction.
static bool signatureAutomaticDownloading()
Get SignatureAutomaticDownloading.
bool mChecksumAutomaticVerification
bool mAfterFinishActionEnabled
static QString headerState()
Get HeaderState.
static void setExportGlobalJob(bool v)
Set ExportGlobalJob.
QDateTime mTimedDisconnectDateTime
QStringList mSignatureKeyServers
static QString autoPasteHeaderState()
Get AutoPasteHeaderState.
static int webinterfacePort()
Get WebinterfacePort.
static void setLastDirectory(const QString &v)
Set LastDirectory.
QList< int > mAutoPasteTypes
static void setTransferSpeedLimit(int v)
Set TransferSpeedLimit.
static void setSpeedLimit(bool v)
Set SpeedLimit.
QString mTransferSettingsHeaderState
static void setTimedDisconnectDateTime(const QDateTime &v)
Set TimedDisconnectDateTime.