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

Vandalism network. More...

#include <vandalnw.hpp>

+ Inheritance diagram for Huggle::VandalNw:

Public Member Functions

 VandalNw (QWidget *parent=0)
 
void Connect ()
 
void Disconnect ()
 
QString GetChannel ()
 
void Good (WikiEdit *Edit)
 This will deliver an edit to others as a good edit.
 
void Insert (QString text)
 Insert text to window. More...
 
void Rollback (WikiEdit *Edit)
 Notify others about a rollback of edit.
 
void SuspiciousWikiEdit (WikiEdit *Edit)
 
void WarningSent (WikiUser *user, int Level)
 

Public Attributes

QString pref
 
QTimer * tm
 

Private Slots

void on_pushButton_clicked ()
 
void onTick ()
 

Private Attributes

IRC::NetworkIrcIrc
 
bool JoinedMain
 
Ui::VandalNw * ui
 

Detailed Description

Vandalism network.

Huggle 3 comes with a system that allows all clients to operate together in order to be effective in reverting of vandalism

Definition at line 32 of file vandalnw.hpp.

Constructor & Destructor Documentation

VandalNw::VandalNw ( QWidget *  parent = 0)
explicit
Todo:

We should make a user list of other huggle users here

Share a version of your huggle with others in sane way

Hook to VERSION

Definition at line 16 of file vandalnw.cpp.

References Huggle::Configuration::HuggleVersion, onTick(), pref, tm, and Huggle::Configuration::UserName.

Member Function Documentation

void VandalNw::Connect ( )
Todo:
LOCALIZE ME
Todo:
LOCALIZE ME

Definition at line 35 of file vandalnw.cpp.

References Huggle::IRC::NetworkIrc::Connect(), Insert(), and Huggle::Core::Log().

Referenced by Huggle::MainWindow::MainWindow().

void VandalNw::Disconnect ( )
Todo:
LOCALIZE ME

Definition at line 50 of file vandalnw.cpp.

References Insert().

Referenced by Huggle::MainWindow::Exit().

void VandalNw::Insert ( QString  text)

Insert text to window.

Parameters
textis a string that will be inserted to window, must not be terminated with newline

Definition at line 135 of file vandalnw.cpp.

Referenced by Connect(), Disconnect(), and onTick().

void VandalNw::onTick ( )
privateslot
Todo:
LOCALIZE ME
Todo:
LOCALIZE ME
Todo:
find and change the score of that edit, update queue and sort it.

Definition at line 82 of file vandalnw.cpp.

References Insert(), Huggle::IRC::NetworkIrc::IsConnected(), Huggle::Core::Main, pref, Huggle::MainWindow::Queue1, and tm.

Referenced by VandalNw().

Member Data Documentation

QString Huggle::VandalNw::pref
Todo:
DOCUMENT ME - it's not really clear what this is for because the name is too weird

Definition at line 57 of file vandalnw.hpp.

Referenced by Good(), onTick(), Rollback(), and VandalNw().

QTimer* Huggle::VandalNw::tm
Todo:
DOCUMENT ME - it's not really clear what this is for because the name is too weird

Definition at line 59 of file vandalnw.hpp.

Referenced by onTick(), and VandalNw().


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