diff options
| author | 2008-09-16 11:43:31 +0000 | |
|---|---|---|
| committer | 2008-09-16 11:43:31 +0000 | |
| commit | f4da8086b4ab698510290f92aa679a305a537a27 (patch) | |
| tree | 22a91b1dcb8f71c78ea364bfbcc5a42f545abbbe /src/modules/objects/class_listviewitem.cpp | |
| parent | windowlist: fixed background color under win32 (diff) | |
| download | KVIrc-f4da8086b4ab698510290f92aa679a305a537a27.tar.gz KVIrc-f4da8086b4ab698510290f92aa679a305a537a27.tar.bz2 KVIrc-f4da8086b4ab698510290f92aa679a305a537a27.zip | |
pop in some EOL and svn properties fixes.
- all textfiles were converted to unix line endings
- svn:eol-style native has been set on that files so noone has to care about it again, now the svn client does take care of that, a checkout on unix will get unix lineendings, a checkout on windows will get windows lineendings
- svn:executable fixup (some file had the executable bit set were they shouldn't)
- svn:mime-type fixes for most of the files, which will probaly only affect trac in viewing that files
- some typo fixup, the manpage seems to need some love, though.
this will be pushed to the branches once i get to it today.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2469 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/class_listviewitem.cpp')
| -rw-r--r-- | src/modules/objects/class_listviewitem.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/modules/objects/class_listviewitem.cpp b/src/modules/objects/class_listviewitem.cpp index e9eacd56c..62adaf37c 100644 --- a/src/modules/objects/class_listviewitem.cpp +++ b/src/modules/objects/class_listviewitem.cpp @@ -27,28 +27,28 @@ #include "kvi_locale.h" #include "kvi_iconmanager.h" -const int item_flags[] = {
- Qt::ItemIsSelectable,
- Qt::ItemIsEditable,
- Qt::ItemIsDragEnabled,
- Qt::ItemIsDropEnabled,
- Qt::ItemIsUserCheckable,
- Qt::ItemIsEnabled,
- Qt::ItemIsTristate
-};
-
-const char * const itemflags_tbl[] = {
- "selectable",
- "editable",
- "dragEnabled",
- "dropEnabled",
- "userCheckable",
- "enabled",
- "tristate"
-};
-
-#define itemflags_num (sizeof(itemflags_tbl) / sizeof(itemflags_tbl[0]))
-
+const int item_flags[] = { + Qt::ItemIsSelectable, + Qt::ItemIsEditable, + Qt::ItemIsDragEnabled, + Qt::ItemIsDropEnabled, + Qt::ItemIsUserCheckable, + Qt::ItemIsEnabled, + Qt::ItemIsTristate +}; + +const char * const itemflags_tbl[] = { + "selectable", + "editable", + "dragEnabled", + "dropEnabled", + "userCheckable", + "enabled", + "tristate" +}; + +#define itemflags_num (sizeof(itemflags_tbl) / sizeof(itemflags_tbl[0])) + /* @@ -296,7 +296,7 @@ bool KviKvsObject_treewidgetitem::function_setFlags(KviKvsObjectFunctionCall *c) } } if(flag){ - if (flag==Qt::ItemIsUserCheckable)
+ if (flag==Qt::ItemIsUserCheckable) m_pListViewItem->setCheckState(0,Qt::Unchecked); sum = sum | flag; } |
