Changeset 209 for tests/process


Ignore:
Timestamp:
Oct 6, 2009, 6:13:43 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

tests: Play Qt rules in order to get separate output directories for object files (needed after discarding r200).

Location:
tests/process
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/process/process

    • Property svn:ignore
      •  

        old new  
        11Makefile
        22Makefile.*
         3
  • tests/process/process/process.cpp

    r205 r209  
    2121public:
    2222
    23     MyWidget(QWidget *aParent) : QWidget(aParent)
     23    MyWidget(QWidget *aParent)
     24        : QWidget(aParent), mOtherProcess(0), mRedirectedToOtherProcess(false)
    2425    {
    2526        // children
     
    7475    }
    7576
     77
     78
     79
    7680private slots:
    7781
     
    200204                return;
    201205            }
     206
     207
     208
     209
     210
     211
     212
     213
     214
     215
     216
     217
     218
     219
    202220        }
    203221        else
     
    266284
    267285    QProcess *mProcess;
     286
     287
     288
    268289    QTextEdit *mEditor;
    269290    QLineEdit *mLineEdit;
     
    284305
    285306        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"));
    288316
    289317        // connections
     
    302330        // other
    303331    }
     332
     333
     334
     335
     336
    304337};
    305338
  • tests/process/test

    • Property svn:ignore
      •  

        old new  
        11Makefile
        22Makefile.*
         3
Note: See TracChangeset for help on using the changeset viewer.