aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/channelsjoin/channelsjoinwindow.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
commitf2f47c5eaa7d284abad1f693d7c75c85c42565df (patch)
tree2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/channelsjoin/channelsjoinwindow.cpp
parentMore work on the window popup (diff)
downloadKVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.gz
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.bz2
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.zip
Beginning of 'the big rename & cleanup'. File names should match class names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations...
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/channelsjoin/channelsjoinwindow.cpp')
-rw-r--r--src/modules/channelsjoin/channelsjoinwindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/channelsjoin/channelsjoinwindow.cpp b/src/modules/channelsjoin/channelsjoinwindow.cpp
index 24f5f9410..b5a75e1d4 100644
--- a/src/modules/channelsjoin/channelsjoinwindow.cpp
+++ b/src/modules/channelsjoin/channelsjoinwindow.cpp
@@ -4,7 +4,7 @@
// Creation date : Thu Nov 6 2001 12:41:18 by Juanjo �varez
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2001-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2001-2010 Szymon Stefanek (pragma at kvirc dot net)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the linkss of the GNU General Public License
@@ -24,15 +24,15 @@
#include "channelsjoinwindow.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_options.h"
#include "kvi_selectors.h"
#include "kvi_app.h"
-#include "kvi_string.h"
-#include "kvi_qstring.h"
+#include "KviCString.h"
+#include "KviQString.h"
#include "kvi_iconmanager.h"
#include "kvi_console.h"
-#include "kvi_regchan.h"
+#include "KviRegisteredChannel.h"
#include "kvi_kvs_script.h"
#include "kvi_tal_groupbox.h"
@@ -375,13 +375,13 @@ void KviChannelsJoinWindow::clearClicked()
/*
void KviChannelsJoinWindow::whoClicked()
{
- KviStr tmp = m_pChannelEdit->text();
+ KviCString tmp = m_pChannelEdit->text();
if(!tmp.isEmpty())doCmd("who", tmp.ptr());
}
void KviChannelsJoinWindow::namesClicked()
{
- KviStr tmp = m_pChannelEdit->text();
+ KviCString tmp = m_pChannelEdit->text();
//FIXME: I must be a nice guy and implement /names in the core...
if(!tmp.isEmpty())doCmd("raw names", tmp.ptr());
}
@@ -389,7 +389,7 @@ void KviChannelsJoinWindow::namesClicked()
void KviChannelsJoinWindow::itemDoubleClicked(KviTalListBoxItem * it)
{
if (it == 0)return;
- KviStr tmp = it->text();
+ KviCString tmp = it->text();
doCmd("join", tmp.ptr());
// if(KVI_OPTION_BOOL(KviOption_boolCloseChannelsJoinAfterJoin))
// g_pApp->collectGarbage(this);