| Last change
 on this file since 1837 was             1671, checked in by bird, 17 years ago | 
        
          | 
Initial qt4 unit. Missing nls, but is otherwise fine.
 | 
        
          | 
              
Property                 svn:eol-style
 set to                 native
Property                 svn:keywords
 set to                 Id | 
        
          | File size:
            1.1 KB | 
      
      
| Line |  | 
|---|
| 1 | # $Id: qt-Q_OBJECT.sed 1671 2008-07-07 21:36:05Z bird $ | 
|---|
| 2 | ## @file | 
|---|
| 3 | # Qt unit - sed script for checking for Q_OBJECT in a file. | 
|---|
| 4 | # | 
|---|
| 5 | # This is not very sophisticated, but it helps avoid generating | 
|---|
| 6 | # files we don't need. It outputs '1' when Q_OBJECT is found | 
|---|
| 7 | # and then quits, allowing us to do $(if $(shell ...),moc_...). | 
|---|
| 8 | # is | 
|---|
| 9 | # | 
|---|
| 10 |  | 
|---|
| 11 | # | 
|---|
| 12 | # Copyright (c) 2008 knut st. osmundsen <bird-src-spam@anduin.net> | 
|---|
| 13 | # | 
|---|
| 14 | # This file is part of kBuild. | 
|---|
| 15 | # | 
|---|
| 16 | # kBuild is free software; you can redistribute it and/or modify | 
|---|
| 17 | # it under the terms of the GNU General Public License as published by | 
|---|
| 18 | # the Free Software Foundation; either version 2 of the License, or | 
|---|
| 19 | # (at your option) any later version. | 
|---|
| 20 | # | 
|---|
| 21 | # kBuild is distributed in the hope that it will be useful, | 
|---|
| 22 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 23 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 24 | # GNU General Public License for more details. | 
|---|
| 25 | # | 
|---|
| 26 | # You should have received a copy of the GNU General Public License | 
|---|
| 27 | # along with kBuild; if not, write to the Free Software | 
|---|
| 28 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA | 
|---|
| 29 | # | 
|---|
| 30 | # | 
|---|
| 31 |  | 
|---|
| 32 | /Q_OBJECT/!b skip | 
|---|
| 33 | s/^.*$/1/ | 
|---|
| 34 | q 0 | 
|---|
| 35 | :skip | 
|---|
| 36 | d | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.