#include <addfriendform.h>
Definition at line 37 of file addfriendform.h.
 
◆ Mode
| Enumerator | 
|---|
| AddFriend  |  | 
| ImportContacts  |  | 
| FriendRequest  |  | 
Definition at line 41 of file addfriendform.h.
 
 
◆ AddFriendForm() [1/2]
      
        
          | AddFriendForm::AddFriendForm  | 
          ( | 
          ToxId  | 
          _ownId | ) | 
           | 
        
      
 
 
◆ AddFriendForm() [2/2]
◆ ~AddFriendForm()
      
        
          | AddFriendForm::~AddFriendForm  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ addFriend()
  
  
      
        
          | void AddFriendForm::addFriend  | 
          ( | 
          const QString &  | 
          idText | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ addFriendRequest()
      
        
          | bool AddFriendForm::addFriendRequest  | 
          ( | 
          const QString &  | 
          friendAddress,  | 
        
        
           | 
           | 
          const QString &  | 
          message  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ addFriendRequestWidget()
  
  
      
        
          | void AddFriendForm::addFriendRequestWidget  | 
          ( | 
          const QString &  | 
          friendAddress,  | 
         
        
           | 
           | 
          const QString &  | 
          message  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
 
◆ deleteFriendRequest()
  
  
      
        
          | void AddFriendForm::deleteFriendRequest  | 
          ( | 
          const ToxId &  | 
          toxId | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ friendRequestAccepted
  
  
      
        
          | void AddFriendForm::friendRequestAccepted  | 
          ( | 
          const ToxPk &  | 
          friendAddress | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
◆ friendRequested
  
  
      
        
          | void AddFriendForm::friendRequested  | 
          ( | 
          const ToxId &  | 
          friendAddress,  | 
         
        
           | 
           | 
          const QString &  | 
          message  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
signal   | 
  
 
 
◆ friendRequestsSeen
  
  
      
        
          | void AddFriendForm::friendRequestsSeen  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
◆ getImportMessage()
  
  
      
        
          | QString AddFriendForm::getImportMessage  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
◆ getMessage()
  
  
      
        
          | QString AddFriendForm::getMessage  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
◆ isShown()
      
        
          | bool AddFriendForm::isShown  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ onCurrentChanged
  
  
      
        
          | void AddFriendForm::onCurrentChanged  | 
          ( | 
          int  | 
          index | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ onFriendRequestAccepted
  
  
      
        
          | void AddFriendForm::onFriendRequestAccepted  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ onFriendRequestRejected
  
  
      
        
          | void AddFriendForm::onFriendRequestRejected  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ onIdChanged
  
  
      
        
          | void AddFriendForm::onIdChanged  | 
          ( | 
          const QString &  | 
          id | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ onImportOpenClicked
  
  
      
        
          | void AddFriendForm::onImportOpenClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ onImportSendClicked
  
  
      
        
          | void AddFriendForm::onImportSendClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ onSendTriggered
  
  
      
        
          | void AddFriendForm::onSendTriggered  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
◆ onUsernameSet
  
  
      
        
          | void AddFriendForm::onUsernameSet  | 
          ( | 
          const QString &  | 
          userName | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ operator=()
◆ removeFriendRequestWidget()
  
  
      
        
          | void AddFriendForm::removeFriendRequestWidget  | 
          ( | 
          QWidget *  | 
          friendWidget | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ retranslateAcceptButton()
  
  
      
        
          | void AddFriendForm::retranslateAcceptButton  | 
          ( | 
          QPushButton *  | 
          acceptButton | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ retranslateRejectButton()
  
  
      
        
          | void AddFriendForm::retranslateRejectButton  | 
          ( | 
          QPushButton *  | 
          rejectButton | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ retranslateUi()
  
  
      
        
          | void AddFriendForm::retranslateUi  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ setIdFromClipboard()
  
  
      
        
          | void AddFriendForm::setIdFromClipboard  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ setMode()
      
        
          | void AddFriendForm::setMode  | 
          ( | 
          Mode  | 
          mode | ) | 
           | 
        
      
 
 
◆ show()
◆ acceptButtons
  
  
      
        
          | QList<QPushButton*> AddFriendForm::acceptButtons | 
         
       
   | 
  
private   | 
  
 
 
◆ contactsToImport
  
  
      
        
          | QList<QString> AddFriendForm::contactsToImport | 
         
       
   | 
  
private   | 
  
 
 
◆ head
  
  
      
        
          | QWidget* AddFriendForm::head | 
         
       
   | 
  
private   | 
  
 
 
◆ headLabel
  
  
      
        
          | QLabel AddFriendForm::headLabel | 
         
       
   | 
  
private   | 
  
 
 
◆ headLayout
  
  
      
        
          | QVBoxLayout AddFriendForm::headLayout | 
         
       
   | 
  
private   | 
  
 
 
◆ importContacts
  
  
      
        
          | QWidget* AddFriendForm::importContacts | 
         
       
   | 
  
private   | 
  
 
 
◆ importContactsLayout
  
  
      
        
          | QVBoxLayout AddFriendForm::importContactsLayout | 
         
       
   | 
  
private   | 
  
 
 
◆ importFileButton
  
  
      
        
          | QPushButton AddFriendForm::importFileButton | 
         
       
   | 
  
private   | 
  
 
 
◆ importFileLabel
  
  
      
        
          | QLabel AddFriendForm::importFileLabel | 
         
       
   | 
  
private   | 
  
 
 
◆ importFileLine
  
  
      
        
          | QHBoxLayout AddFriendForm::importFileLine | 
         
       
   | 
  
private   | 
  
 
 
◆ importMessage
  
  
      
        
          | QTextEdit AddFriendForm::importMessage | 
         
       
   | 
  
private   | 
  
 
 
◆ importMessageLabel
  
  
      
        
          | QLabel AddFriendForm::importMessageLabel | 
         
       
   | 
  
private   | 
  
 
 
◆ importSendButton
  
  
      
        
          | QPushButton AddFriendForm::importSendButton | 
         
       
   | 
  
private   | 
  
 
 
◆ lastUsername
  
  
      
        
          | QString AddFriendForm::lastUsername | 
         
       
   | 
  
private   | 
  
 
Cached username so we can retranslate the invite message. 
Definition at line 108 of file addfriendform.h.
 
 
◆ layout
  
  
      
        
          | QVBoxLayout AddFriendForm::layout | 
         
       
   | 
  
private   | 
  
 
 
◆ main
  
  
      
        
          | QWidget* AddFriendForm::main | 
         
       
   | 
  
private   | 
  
 
 
◆ message
  
  
      
        
          | QTextEdit AddFriendForm::message | 
         
       
   | 
  
private   | 
  
 
 
◆ messageLabel
  
  
      
        
          | QLabel AddFriendForm::messageLabel | 
         
       
   | 
  
private   | 
  
 
 
◆ ownId
  
  
      
        
          | ToxId AddFriendForm::ownId | 
         
       
   | 
  
private   | 
  
 
 
◆ rejectButtons
  
  
      
        
          | QList<QPushButton*> AddFriendForm::rejectButtons | 
         
       
   | 
  
private   | 
  
 
 
◆ requestsLayout
  
  
      
        
          | QVBoxLayout* AddFriendForm::requestsLayout | 
         
       
   | 
  
private   | 
  
 
 
◆ sendButton
  
  
      
        
          | QPushButton AddFriendForm::sendButton | 
         
       
   | 
  
private   | 
  
 
 
◆ tabWidget
  
  
      
        
          | QTabWidget* AddFriendForm::tabWidget | 
         
       
   | 
  
private   | 
  
 
 
◆ toxId
  
  
      
        
          | QLineEdit AddFriendForm::toxId | 
         
       
   | 
  
private   | 
  
 
 
◆ toxIdLabel
  
  
      
        
          | QLabel AddFriendForm::toxIdLabel | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: