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

Form to report users to UAA. More...

#include <uaareport.hpp>

+ Inheritance diagram for Huggle::UAAReport:

Public Member Functions

 UAAReport (QWidget *parent=0)
 
void setUserForUAA (WikiUser *user)
 I don't have much of a clue why this is here lol, but I know the dialog can't be initialised from mainwindow without this.
 

Private Slots

void on_pushButton_2_clicked ()
 
void on_pushButton_3_clicked ()
 
void on_pushButton_clicked ()
 
void onStartOfSearch ()
 
void onTick ()
 

Private Member Functions

bool checkIfReported ()
 Check if user is reported.
 
void failed (QString reason)
 Message box, if anything fails.
 
void getPageContents ()
 Get page contents (reason for this is above) More...
 
void insertUsername ()
 Function to that allows us to properly insert what we need to insert.
 
void whatToReport ()
 Function to decide what we are reporting.
 

Private Attributes

QString contentsOfUAA
 
QTimer * cuT
 Timer that does other magical things.
 
QString dr
 Whole contents of UAA page.
 
QString optionalreason
 String that represents what is in the line edit.
 
WikiPagepage
 Pointer to WikiUser.
 
ApiQueryqChUAApage
 Pointer that also gets UAA contents; this time it is used for checking if a user is reported or not.
 
ApiQueryqUAApage
 Pointer to get UAA contents (we don't want replace the page with our content, do we?)
 
QString ta
 UAA template.
 
QString uaaReportReason
 Reason for report.
 
Ui::UAAReport * ui
 
WikiUserUser
 
QTimer * uT
 Timer pointer that allows us to do magical things.
 

Detailed Description

Form to report users to UAA.

Definition at line 36 of file uaareport.hpp.

Member Function Documentation

void UAAReport::getPageContents ( )
private
void UAAReport::on_pushButton_clicked ( )
privateslot
Todo:
LOCALIZE ME
Todo:
LOCALIZE ME

Definition at line 155 of file uaareport.cpp.

References getPageContents().


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