Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Huggle::BlockUser Class Reference

This form can be used to block users from editing, which requires the block permission. More...

#include <blockuser.hpp>

+ Inheritance diagram for Huggle::BlockUser:

Public Member Functions

 BlockUser (QWidget *parent=0)
 
void SetWikiUser (WikiUser *User)
 

Private Slots

void on_pushButton_2_clicked ()
 
void on_pushButton_clicked ()
 
void onTick ()
 

Private Member Functions

void Block ()
 
void CheckToken ()
 
void Failed (QString reason)
 
void GetToken ()
 
void sendBlockNotice (ApiQuery *dependency)
 

Private Attributes

ApiQueryb
 
QString blocktoken
 
ApiQuerydependency
 
int QueryPhase
 
QTimer * t0
 
ApiQuerytb
 
Ui::BlockUser * ui
 
WikiUseruser
 

Detailed Description

This form can be used to block users from editing, which requires the block permission.

Todo:
This form has to send a message to user who was blocked, until that is fixed it must not be included in production build

Definition at line 37 of file blockuser.hpp.

Member Function Documentation

Member Data Documentation

ApiQuery* Huggle::BlockUser::b
private
Todo:
DOCUMENT ME

Definition at line 57 of file blockuser.hpp.

Referenced by CheckToken(), and GetToken().

QTimer* Huggle::BlockUser::t0
private
Todo:
DOCUMENT ME

Definition at line 52 of file blockuser.hpp.

Referenced by Block(), and GetToken().

ApiQuery* Huggle::BlockUser::tb
private
Todo:
DOCUMENT ME

Definition at line 55 of file blockuser.hpp.

Referenced by Block(), and CheckToken().


The documentation for this class was generated from the following files: