Logo Search packages:      
Sourcecode: valknut version File versions  Download package

dcoptions.h

/***************************************************************************
                          dcoptions.h  -  description
                             -------------------
    begin                : Sun Feb 24 2002
    copyright            : (C) 2002 by Mathias Küster
    email                : mathen@users.berlios.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef DCOPTIONS_H
#define DCOPTIONS_H

/**
  *@author Mathias Küster
  */

#include <dcconfig.h>
#include <DCDialogOptions.h>

#include <qhttp.h>

00030 class DCOptions : public DCDialogOptions  {
Q_OBJECT

public:
      /** construtor */
      DCOptions();
      /** destructor */
      virtual ~DCOptions();

      /** */
      void InitDocument();
      /** */
      void SetValues();
      /** */
      void GetValues();

private:
      /** */
      void BrowseSoundFile(eUserSound);
      /** */
      void PreviewSoundFile(eUserSound);
      /** */
      void SaveSharedFolders();
      /** */
      void SaveUserMenuCommands();
      /** */
      void SaveUserChatCommands();
      /** */
      void SaveAutoResponses();
      /** */
      void SetUserPhoto( QString filename );
      /** */
      void setupIconThemeComboBoxes();

      /** */
00065       QListViewItem * plviDCGUI;
      /** */
00067       QListViewItem * plviDCGUIIdentify;
      /** */
00069       QListViewItem * plviConnection;
      /** */
00071       QListViewItem * plviConnectionMode;
      /** */
00073       QListViewItem * plviConnectionSettings;
      /** */
00075       QListViewItem * plviTransfer;
      /** */
00077       QListViewItem * plviTransferFolder;
      /** */
00079       QListViewItem * plviTransferSettings;
      /** */
00081       QListViewItem * plviGUI;
      /** */
00083       QListViewItem * plviGUIUser;
      /** */
00085       QListViewItem * plviGUIChat;
      /** */
00087       QListViewItem * plviGUICommands;
      /** */
00089       QListViewItem * plviGUIMenus;
      /** */
00091       QListViewItem * plviGUITransfer;
      /** */
00093       QListViewItem * plviGUIGeneral;
      /** */
00095       QListViewItem * plviGUIIcons;
      /** */
00097       QListViewItem * plviGUIFilelistBrowser;
      /** */
00099       QListViewItem * plviSound;
      /** */
00101       QListViewItem * plviSoundGeneral;
      /** */
00103       QListViewItem * plviSoundFiles;
      /** */
00105       QListViewItem * plviLog;
      /** */
00107       QListViewItem * plviOther;
      /** */
00109       QListViewItem * plviSecurity;
      /** List view item for auto responses tab */
00111       QListViewItem * plviAutoResponse;
      /** List view item for encoding tab */
00113       QListViewItem * plviEncoding;
      /** QHttp for getting external IP */
00115       QHttp * http;

private slots:
      /** */
      void slotBrowseSoundFileConnect();
      /** */
      void slotBrowseSoundFileDisconnect();
      /** */
      void slotBrowseSoundFileSend();
      /** */
      void slotBrowseSoundFileReceive();
      /** */
      void slotBrowseSoundFileFirstReceive();

      /** */
      void slotLogChatEnableLogging();
      /** */
      void slotLogChatEnableNickNameFilter();
      /** */
      void slotLogChatAddNickNameFilter();
      /** */
      void slotLogChatDelNickNameFilter();

      /** */
      void slotDisableSound();
      /** */
      void slotExternalPlayer();
      /** */
      void slotSoundPlayConnect();
      /** */
      void slotSoundPlayDisconnect();
      /** */
      void slotSoundPlaySend();
      /** */
      void slotSoundPlayRecieve();
      /** */
      void slotSoundPlayFirstReceive();
      /** */
      void slotPreviewSoundFileConnect();
      /** */
      void slotPreviewSoundFileDisconnect();
      /** */
      void slotPreviewSoundFileSend();
      /** */
      void slotPreviewSoundFileReceive();
      /** */
      void slotPreviewSoundFileFirstReceive();

      /** */
      void slotBrowseSoundPlayer();
      /** */
      void slotBrowseDownloadFolder();
      /** */
      void slotBrowseDownloadFinishedFolder();
      /** */
      void slotBrowseShareList();
      /** */
      void slotBrowseDataFolder();
      /** */
      void slotAddSharedFolder();
      /** */
      void slotRemoveSharedFolder();
      /** */
      void slotEditSharedFolder();
      /** */
      void slotCreateShareList();
      /** */
      void slotShareListInfo();
      /** */
      void slotSave();
      /** */
      void slotModeActiveChange(bool);
      /** */
      void slotModePassiveChange(bool);
      /** */
      void slotIPHOSTNAMEChange(bool);
      /** */
      void slotINTERFACEChange(bool);
      /** */
      void slotTestHost();
      /** */
      void slotGetInterface();
      /** */
      void slotGetInternetIP();
      /** */
      void slotGotInternetIP( bool error );
      /** */
      void slotSetTheme();
      /** */
      void slotBrowseLanguageFile();
      /** */
      void slotSelectLanguage();
      /** */
      void slotBrowseAppFont();
      /** */
      void slotBrowseTransferCert();
      /** */
      void slotBrowseTransferKey();
      /** */
      void slotAddHubListUrl();
      /** */
      void slotEditHubListUrl();
      /** */
      void slotRemoveHubListUrl();
      /** */
      void slotBrowseLogFile();
      /** */
      void slotBrowseBrowser();
      /** */
      void slotListViewOptionClicked( QListViewItem * item );
      /** */
      void slotDoubleClickedChatColor(QListBoxItem *);
      /** */
      void slotAutoAwayMode();
      /** */
      void slotChangePhoto();
      /** */
      void slotEnableShowJoinsParts();
      /** */
      void slotContextMenuUserMenuCommands(QListViewItem * item, const QPoint & pos, int col);
      /** */
      void slotContextMenuUserChatCommands(QListViewItem * item, const QPoint & pos, int col);
      /** */
      void slotContextMenuAutoResponses(QListViewItem * item, const QPoint & pos, int col);
      /** */
      void slotDontShareDotFilesChanged();
      /** Generates a new key and certificate for SSL transfers */
      void slotGenerateKeyCert();
};

/** */
00246 inline void DCOptions::slotBrowseSoundFileConnect()
{ BrowseSoundFile(eusCONNECT); }
/** */
00249 inline void DCOptions::slotBrowseSoundFileDisconnect()
{ BrowseSoundFile(eusDISCONNECT); }
/** */
00252 inline void DCOptions::slotBrowseSoundFileSend()
{ BrowseSoundFile(eusSEND); }
/** */
00255 inline void DCOptions::slotBrowseSoundFileReceive()
{ BrowseSoundFile(eusRECEIVE); }
/** */
00258 inline void DCOptions::slotBrowseSoundFileFirstReceive()
{ BrowseSoundFile(eusFIRSTRECEIVE); }
/** */
00261 inline void DCOptions::slotPreviewSoundFileConnect()
{ PreviewSoundFile(eusCONNECT); }
/** */
00264 inline void DCOptions::slotPreviewSoundFileDisconnect()
{ PreviewSoundFile(eusDISCONNECT); }
/** */
00267 inline void DCOptions::slotPreviewSoundFileSend()
{ PreviewSoundFile(eusSEND); }
/** */
00270 inline void DCOptions::slotPreviewSoundFileReceive()
{ PreviewSoundFile(eusRECEIVE); }
/** */
00273 inline void DCOptions::slotPreviewSoundFileFirstReceive()
{ PreviewSoundFile(eusFIRSTRECEIVE); }

#endif

Generated by  Doxygen 1.6.0   Back to index