Changeset 209
- Timestamp:
- Oct 6, 2009, 6:13:43 PM (16 years ago)
- Location:
- tests
- Files:
-
- 4 edited
-
common.pri (modified) (1 diff)
-
process/process (modified) (1 prop)
-
process/process/process.cpp (modified) (6 diffs)
-
process/test (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tests/common.pri
r205 r209 1 1 isEmpty(DEPTH):DEPTH = . 2 os2:OBJECTS_DIR = $$DEPTH/obj/os23 win32:OBJECTS_DIR = $$DEPTH/obj/win4 x11:OBJECTS_DIR = $$DEPTH/obj/x115 2 3 4 5 6 7 8 9 10 11 12 13 6 14 MOC_DIR = $$OBJECTS_DIR 7 15 DESTDIR = $$OBJECTS_DIR 8 16 17 9 18 QMAKE_DIR_REPLACE = OBJECTS_DIR MOC_DIR RCC_DIR target.path 10 19 11 #release { 12 # os2:target.path = $$DEPTH/bin/os2-release 13 # win32:target.path = $$DEPTH/bin/os2-release 14 # x11:target.path = $$DEPTH/bin/os2-release 15 16 os2:target.path = $$DEPTH/bin/os2 17 win32:target.path = $$DEPTH/bin/win 18 x11:target.path = $$DEPTH/bin/x11 19 20 target.path = $$DEPTH/bin/$${PLATFORM}$${OUTPATH_SUFFIX} 20 21 INSTALLS += target -
tests/process/process
- Property svn:ignore
-
old new 1 1 Makefile 2 2 Makefile.* 3
-
- Property svn:ignore
-
tests/process/process/process.cpp
r205 r209 21 21 public: 22 22 23 MyWidget(QWidget *aParent) : QWidget(aParent) 23 MyWidget(QWidget *aParent) 24 : QWidget(aParent), mOtherProcess(0), mRedirectedToOtherProcess(false) 24 25 { 25 26 // children … … 74 75 } 75 76 77 78 79 76 80 private slots: 77 81 … … 200 204 return; 201 205 } 206 207 208 209 210 211 212 213 214 215 216 217 218 219 202 220 } 203 221 else … … 266 284 267 285 QProcess *mProcess; 286 287 288 268 289 QTextEdit *mEditor; 269 290 QLineEdit *mLineEdit; … … 284 305 285 306 QTabWidget *tabs = new QTabWidget(); 286 tabs->addTab(new MyWidget(tabs), QLatin1String("Process 1")); 287 tabs->addTab(new MyWidget(tabs), QLatin1String("Process 2")); 307 308 mWidget1 = new MyWidget(tabs); 309 mWidget2 = new MyWidget(tabs); 310 311 mWidget1->setOtherProcess(mWidget2->process()); 312 mWidget2->setOtherProcess(mWidget1->process()); 313 314 tabs->addTab(mWidget1, QLatin1String("Process 1")); 315 tabs->addTab(mWidget2, QLatin1String("Process 2")); 288 316 289 317 // connections … … 302 330 // other 303 331 } 332 333 334 335 336 304 337 }; 305 338 -
tests/process/test
- Property svn:ignore
-
old new 1 1 Makefile 2 2 Makefile.* 3
-
- Property svn:ignore
Note:
See TracChangeset
for help on using the changeset viewer.
