~ubuntu-branches/ubuntu/saucy/kvirc/saucy

« back to all changes in this revision

Viewing changes to src/modules/window/UserWindow.cpp

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-05-18 19:36:33 UTC
  • mfrom: (22.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20130518193633-kuhzryg7jstqvxpr
Tags: 4:4.2.0-2
Upload to unstable 

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
extern KviPointerList<UserWindow> * g_pUserWindowList;
32
32
 
33
33
 
34
 
UserWindow::UserWindow(KviMainWindow * pFrm, const char * pcName, QString &szIcon, KviConsoleWindow * pConsole, int iCreationFlags)
35
 
: KviWindow(KviWindow::UserWindow,pFrm,pcName,pConsole)
 
34
UserWindow::UserWindow(const char * pcName, QString &szIcon, KviConsoleWindow * pConsole, int iCreationFlags)
 
35
: KviWindow(KviWindow::UserWindow,pcName,pConsole)
36
36
{
37
37
        g_pUserWindowList->append(this);
38
38
 
41
41
        m_szPlainTextCaption = pcName;
42
42
        fillSingleColorCaptionBuffers(m_szPlainTextCaption);
43
43
 
44
 
        // Register ourselves
45
 
        //connection()->registerChannel(this);
46
 
        // Central splitter
47
 
//      m_pSplitter = new QSplitter(QSplitter::Horizontal,this,"main_splitter");
48
 
        // Spitted vertially on the left
49
 
//      m_pVertSplitter = new QSplitter(QSplitter::Vertical,m_pSplitter,
50
 
//              "vertical_splitter");
51
 
        // With the IRC view over
52
 
        m_pIrcView = new KviIrcView(this,pFrm,this);
53
 
        //      connect(m_pIrcView,SIGNAL(rightClicked()),this,SLOT(textViewRightClicked()));
54
 
        // The userlist on the right
55
 
//      m_pUserListView = new KviUserListView(m_pSplitter,connection()->userDataBase(),this,
56
 
//                                                              AVERAGE_CHANNEL_USERS,__tr2qs("User List"),"user_list_view");
57
 
        // And finally the input line on the bottom
 
44
        m_pIrcView = new KviIrcView(this,this);
 
45
 
58
46
        if(iCreationFlags & HasInput)
59
47
                m_pInput = new KviInput(this,0);
60
48
        else
61
49
                m_pInput = 0;
62
 
        //      applyOptions();
63
50
 
64
51
        if(context())
65
52
                context()->registerContextWindow(this);