Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | * Released under the terms of the GNU GPL v2.0. |
| 4 | */ |
| 5 | |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 6 | #if QT_VERSION < 0x040000 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | #include <qlistview.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #else |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 9 | #include <q3listview.h> |
| 10 | #endif |
| 11 | #include <qsettings.h> |
| 12 | |
| 13 | #if QT_VERSION < 0x040000 |
| 14 | #define Q3ValueList QValueList |
| 15 | #define Q3PopupMenu QPopupMenu |
| 16 | #define Q3ListView QListView |
| 17 | #define Q3ListViewItem QListViewItem |
| 18 | #define Q3VBox QVBox |
| 19 | #define Q3TextBrowser QTextBrowser |
| 20 | #define Q3MainWindow QMainWindow |
| 21 | #define Q3Action QAction |
| 22 | #define Q3ToolBar QToolBar |
| 23 | #define Q3ListViewItemIterator QListViewItemIterator |
| 24 | #define Q3FileDialog QFileDialog |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #endif |
| 26 | |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 27 | class ConfigView; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | class ConfigList; |
| 29 | class ConfigItem; |
| 30 | class ConfigLineEdit; |
| 31 | class ConfigMainWindow; |
| 32 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | class ConfigSettings : public QSettings { |
| 34 | public: |
Ben Hutchings | 00d4f8f | 2013-10-06 19:21:31 +0100 | [diff] [blame] | 35 | ConfigSettings(); |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 36 | Q3ValueList<int> readSizes(const QString& key, bool *ok); |
| 37 | bool writeSizes(const QString& key, const Q3ValueList<int>& value); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | }; |
| 39 | |
| 40 | enum colIdx { |
| 41 | promptColIdx, nameColIdx, noColIdx, modColIdx, yesColIdx, dataColIdx, colNr |
| 42 | }; |
| 43 | enum listMode { |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 44 | singleMode, menuMode, symbolMode, fullMode, listMode |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | }; |
Li Zefan | 39a4897 | 2010-05-10 16:33:41 +0800 | [diff] [blame] | 46 | enum optionMode { |
| 47 | normalOpt = 0, allOpt, promptOpt |
| 48 | }; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 50 | class ConfigList : public Q3ListView { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | Q_OBJECT |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 52 | typedef class Q3ListView Parent; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | public: |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 54 | ConfigList(ConfigView* p, const char *name = 0); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | void reinit(void); |
| 56 | ConfigView* parent(void) const |
| 57 | { |
| 58 | return (ConfigView*)Parent::parent(); |
| 59 | } |
Roman Zippel | b65a47e | 2006-06-08 22:12:47 -0700 | [diff] [blame] | 60 | ConfigItem* findConfigItem(struct menu *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | |
| 62 | protected: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | void keyPressEvent(QKeyEvent *e); |
| 64 | void contentsMousePressEvent(QMouseEvent *e); |
| 65 | void contentsMouseReleaseEvent(QMouseEvent *e); |
| 66 | void contentsMouseMoveEvent(QMouseEvent *e); |
| 67 | void contentsMouseDoubleClickEvent(QMouseEvent *e); |
| 68 | void focusInEvent(QFocusEvent *e); |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 69 | void contextMenuEvent(QContextMenuEvent *e); |
| 70 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 71 | public slots: |
| 72 | void setRootMenu(struct menu *menu); |
| 73 | |
| 74 | void updateList(ConfigItem *item); |
| 75 | void setValue(ConfigItem* item, tristate val); |
| 76 | void changeValue(ConfigItem* item); |
| 77 | void updateSelection(void); |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 78 | void saveSettings(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 79 | signals: |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 80 | void menuChanged(struct menu *menu); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 81 | void menuSelected(struct menu *menu); |
| 82 | void parentSelected(void); |
Roman Zippel | b65a47e | 2006-06-08 22:12:47 -0700 | [diff] [blame] | 83 | void gotFocus(struct menu *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 84 | |
| 85 | public: |
| 86 | void updateListAll(void) |
| 87 | { |
| 88 | updateAll = true; |
| 89 | updateList(NULL); |
| 90 | updateAll = false; |
| 91 | } |
| 92 | ConfigList* listView() |
| 93 | { |
| 94 | return this; |
| 95 | } |
| 96 | ConfigItem* firstChild() const |
| 97 | { |
| 98 | return (ConfigItem *)Parent::firstChild(); |
| 99 | } |
| 100 | int mapIdx(colIdx idx) |
| 101 | { |
| 102 | return colMap[idx]; |
| 103 | } |
| 104 | void addColumn(colIdx idx, const QString& label) |
| 105 | { |
| 106 | colMap[idx] = Parent::addColumn(label); |
| 107 | colRevMap[colMap[idx]] = idx; |
| 108 | } |
| 109 | void removeColumn(colIdx idx) |
| 110 | { |
| 111 | int col = colMap[idx]; |
| 112 | if (col >= 0) { |
| 113 | Parent::removeColumn(col); |
| 114 | colRevMap[col] = colMap[idx] = -1; |
| 115 | } |
| 116 | } |
| 117 | void setAllOpen(bool open); |
| 118 | void setParentMenu(void); |
| 119 | |
Li Zefan | 39a4897 | 2010-05-10 16:33:41 +0800 | [diff] [blame] | 120 | bool menuSkip(struct menu *); |
| 121 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 122 | template <class P> |
Dave Jones | 19144d0 | 2006-01-08 01:05:02 -0800 | [diff] [blame] | 123 | void updateMenuList(P*, struct menu*); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 124 | |
| 125 | bool updateAll; |
| 126 | |
| 127 | QPixmap symbolYesPix, symbolModPix, symbolNoPix; |
| 128 | QPixmap choiceYesPix, choiceNoPix; |
| 129 | QPixmap menuPix, menuInvPix, menuBackPix, voidPix; |
| 130 | |
Li Zefan | 39a4897 | 2010-05-10 16:33:41 +0800 | [diff] [blame] | 131 | bool showName, showRange, showData; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | enum listMode mode; |
Li Zefan | 39a4897 | 2010-05-10 16:33:41 +0800 | [diff] [blame] | 133 | enum optionMode optMode; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 134 | struct menu *rootEntry; |
| 135 | QColorGroup disabledColorGroup; |
| 136 | QColorGroup inactivedColorGroup; |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 137 | Q3PopupMenu* headerPopup; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 138 | |
| 139 | private: |
| 140 | int colMap[colNr]; |
| 141 | int colRevMap[colNr]; |
| 142 | }; |
| 143 | |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 144 | class ConfigItem : public Q3ListViewItem { |
| 145 | typedef class Q3ListViewItem Parent; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 146 | public: |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 147 | ConfigItem(Q3ListView *parent, ConfigItem *after, struct menu *m, bool v) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 148 | : Parent(parent, after), menu(m), visible(v), goParent(false) |
| 149 | { |
| 150 | init(); |
| 151 | } |
| 152 | ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v) |
| 153 | : Parent(parent, after), menu(m), visible(v), goParent(false) |
| 154 | { |
| 155 | init(); |
| 156 | } |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 157 | ConfigItem(Q3ListView *parent, ConfigItem *after, bool v) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 158 | : Parent(parent, after), menu(0), visible(v), goParent(true) |
| 159 | { |
| 160 | init(); |
| 161 | } |
| 162 | ~ConfigItem(void); |
| 163 | void init(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 164 | void okRename(int col); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 165 | void updateMenu(void); |
| 166 | void testUpdateMenu(bool v); |
| 167 | ConfigList* listView() const |
| 168 | { |
| 169 | return (ConfigList*)Parent::listView(); |
| 170 | } |
| 171 | ConfigItem* firstChild() const |
| 172 | { |
| 173 | return (ConfigItem *)Parent::firstChild(); |
| 174 | } |
| 175 | ConfigItem* nextSibling() const |
| 176 | { |
| 177 | return (ConfigItem *)Parent::nextSibling(); |
| 178 | } |
| 179 | void setText(colIdx idx, const QString& text) |
| 180 | { |
| 181 | Parent::setText(listView()->mapIdx(idx), text); |
| 182 | } |
| 183 | QString text(colIdx idx) const |
| 184 | { |
| 185 | return Parent::text(listView()->mapIdx(idx)); |
| 186 | } |
| 187 | void setPixmap(colIdx idx, const QPixmap& pm) |
| 188 | { |
| 189 | Parent::setPixmap(listView()->mapIdx(idx), pm); |
| 190 | } |
| 191 | const QPixmap* pixmap(colIdx idx) const |
| 192 | { |
| 193 | return Parent::pixmap(listView()->mapIdx(idx)); |
| 194 | } |
| 195 | void paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align); |
| 196 | |
| 197 | ConfigItem* nextItem; |
| 198 | struct menu *menu; |
| 199 | bool visible; |
| 200 | bool goParent; |
| 201 | }; |
| 202 | |
| 203 | class ConfigLineEdit : public QLineEdit { |
| 204 | Q_OBJECT |
| 205 | typedef class QLineEdit Parent; |
| 206 | public: |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 207 | ConfigLineEdit(ConfigView* parent); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 208 | ConfigView* parent(void) const |
| 209 | { |
| 210 | return (ConfigView*)Parent::parent(); |
| 211 | } |
| 212 | void show(ConfigItem *i); |
| 213 | void keyPressEvent(QKeyEvent *e); |
| 214 | |
| 215 | public: |
| 216 | ConfigItem *item; |
| 217 | }; |
| 218 | |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 219 | class ConfigView : public Q3VBox { |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 220 | Q_OBJECT |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 221 | typedef class Q3VBox Parent; |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 222 | public: |
| 223 | ConfigView(QWidget* parent, const char *name = 0); |
| 224 | ~ConfigView(void); |
| 225 | static void updateList(ConfigItem* item); |
| 226 | static void updateListAll(void); |
| 227 | |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 228 | bool showName(void) const { return list->showName; } |
| 229 | bool showRange(void) const { return list->showRange; } |
| 230 | bool showData(void) const { return list->showData; } |
| 231 | public slots: |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 232 | void setShowName(bool); |
| 233 | void setShowRange(bool); |
| 234 | void setShowData(bool); |
Li Zefan | 39a4897 | 2010-05-10 16:33:41 +0800 | [diff] [blame] | 235 | void setOptionMode(QAction *); |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 236 | signals: |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 237 | void showNameChanged(bool); |
| 238 | void showRangeChanged(bool); |
| 239 | void showDataChanged(bool); |
| 240 | public: |
| 241 | ConfigList* list; |
| 242 | ConfigLineEdit* lineEdit; |
| 243 | |
| 244 | static ConfigView* viewList; |
| 245 | ConfigView* nextView; |
Li Zefan | 39a4897 | 2010-05-10 16:33:41 +0800 | [diff] [blame] | 246 | |
| 247 | static QAction *showNormalAction; |
| 248 | static QAction *showAllAction; |
| 249 | static QAction *showPromptAction; |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 250 | }; |
| 251 | |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 252 | class ConfigInfoView : public Q3TextBrowser { |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 253 | Q_OBJECT |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 254 | typedef class Q3TextBrowser Parent; |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 255 | public: |
| 256 | ConfigInfoView(QWidget* parent, const char *name = 0); |
| 257 | bool showDebug(void) const { return _showDebug; } |
| 258 | |
| 259 | public slots: |
| 260 | void setInfo(struct menu *menu); |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 261 | void saveSettings(void); |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 262 | void setShowDebug(bool); |
| 263 | |
| 264 | signals: |
| 265 | void showDebugChanged(bool); |
Roman Zippel | b65a47e | 2006-06-08 22:12:47 -0700 | [diff] [blame] | 266 | void menuSelected(struct menu *); |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 267 | |
| 268 | protected: |
Roman Zippel | ab45d19 | 2006-06-08 22:12:47 -0700 | [diff] [blame] | 269 | void symbolInfo(void); |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 270 | void menuInfo(void); |
| 271 | QString debug_info(struct symbol *sym); |
| 272 | static QString print_filter(const QString &str); |
Roman Zippel | ab45d19 | 2006-06-08 22:12:47 -0700 | [diff] [blame] | 273 | static void expr_print_help(void *data, struct symbol *sym, const char *str); |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 274 | Q3PopupMenu* createPopupMenu(const QPoint& pos); |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 275 | void contentsContextMenuEvent(QContextMenuEvent *e); |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 276 | |
Roman Zippel | ab45d19 | 2006-06-08 22:12:47 -0700 | [diff] [blame] | 277 | struct symbol *sym; |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 278 | struct menu *_menu; |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 279 | bool _showDebug; |
| 280 | }; |
| 281 | |
| 282 | class ConfigSearchWindow : public QDialog { |
| 283 | Q_OBJECT |
| 284 | typedef class QDialog Parent; |
| 285 | public: |
Marco Costalba | 63431e7 | 2006-10-05 19:12:59 +0200 | [diff] [blame] | 286 | ConfigSearchWindow(ConfigMainWindow* parent, const char *name = 0); |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 287 | |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 288 | public slots: |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 289 | void saveSettings(void); |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 290 | void search(void); |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 291 | |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 292 | protected: |
| 293 | QLineEdit* editField; |
| 294 | QPushButton* searchButton; |
Roman Zippel | 7fc925f | 2006-06-08 22:12:46 -0700 | [diff] [blame] | 295 | QSplitter* split; |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 296 | ConfigView* list; |
| 297 | ConfigInfoView* info; |
| 298 | |
| 299 | struct symbol **result; |
| 300 | }; |
| 301 | |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 302 | class ConfigMainWindow : public Q3MainWindow { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 303 | Q_OBJECT |
Karsten Wiese | 3b354c5 | 2006-12-13 00:34:08 -0800 | [diff] [blame] | 304 | |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 305 | static Q3Action *saveAction; |
Karsten Wiese | 3b354c5 | 2006-12-13 00:34:08 -0800 | [diff] [blame] | 306 | static void conf_changed(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 307 | public: |
| 308 | ConfigMainWindow(void); |
| 309 | public slots: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 310 | void changeMenu(struct menu *); |
Roman Zippel | b65a47e | 2006-06-08 22:12:47 -0700 | [diff] [blame] | 311 | void setMenuLink(struct menu *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 312 | void listFocusChanged(void); |
| 313 | void goBack(void); |
| 314 | void loadConfig(void); |
Michal Marek | bac6aa8 | 2011-05-25 15:10:25 +0200 | [diff] [blame] | 315 | bool saveConfig(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 316 | void saveConfigAs(void); |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 317 | void searchConfig(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 318 | void showSingleView(void); |
| 319 | void showSplitView(void); |
| 320 | void showFullView(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 321 | void showIntro(void); |
| 322 | void showAbout(void); |
| 323 | void saveSettings(void); |
| 324 | |
| 325 | protected: |
| 326 | void closeEvent(QCloseEvent *e); |
| 327 | |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 328 | ConfigSearchWindow *searchWindow; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 329 | ConfigView *menuView; |
| 330 | ConfigList *menuList; |
| 331 | ConfigView *configView; |
| 332 | ConfigList *configList; |
Roman Zippel | 43bf612 | 2006-06-08 22:12:45 -0700 | [diff] [blame] | 333 | ConfigInfoView *helpText; |
Alexander Stein | 133c5f7 | 2010-08-31 17:34:37 +0200 | [diff] [blame] | 334 | Q3ToolBar *toolBar; |
| 335 | Q3Action *backAction; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 336 | QSplitter* split1; |
| 337 | QSplitter* split2; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 338 | }; |