Skip to content

Commit

Permalink
Fix files that don't end with a newline character
Browse files Browse the repository at this point in the history
These are cosmetic changes to files that do not end
with a newline character.

Change-Id: I5b3e270386a1ef1ea2c1f57a1de3f7e3a8a52f5a
Reviewed-by: Rohan McGovern
  • Loading branch information
Sergio Ahumada committed Aug 12, 2011
1 parent 257477c commit 84d51bf
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions config.tests/mac/xcodeversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int main(int argc, const char **argv)
const char * ok3 ="3.0";
// ptr = fail1;
// printf ("string: %s\n", ptr);

int length = strlen(ptr);
if (length < 3) // expect "x.y" at least
return internal_error;
Expand All @@ -94,6 +94,6 @@ int main(int argc, const char **argv)

if (ptr[4] < '1')
return fail;

return success;
}
}
2 changes: 1 addition & 1 deletion demos/embedded/lightmaps/lightmaps.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ private slots:
bool invert;
};

#endif
#endif
2 changes: 1 addition & 1 deletion demos/embedded/lightmaps/mapzoom.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ private slots:
QNetworkSession *networkSession;
};

#endif
#endif
2 changes: 1 addition & 1 deletion demos/embedded/lightmaps/slippymap.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ private slots:
QUrl m_url;
};

#endif
#endif
2 changes: 1 addition & 1 deletion demos/mobile/guitartuner/src/guitartuner.rc
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ BEGIN
BEGIN
VALUE "Translation", 0x409, 1252
END
END
END
2 changes: 1 addition & 1 deletion doc/src/snippets/qcolumnview/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ int main(int argc, char *argv[])
columnView.show();

return app.exec();
}
}
2 changes: 1 addition & 1 deletion doc/src/snippets/textdocument-imagedrop/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ int main(int argc, char * argv[])
textEdit->show();

return app.exec();
}
}
6 changes: 3 additions & 3 deletions doc/src/snippets/textdocument-imagedrop/textedit.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
class TextEdit : public QTextEdit
{
Q_OBJECT
public:

public:
TextEdit(QWidget *parent=0);
bool canInsertFromMimeData( const QMimeData *source ) const;
void insertFromMimeData( const QMimeData *source );
};

#endif
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ void DialogPlugin::registerTypes(const char *uri)
}

//FileDialog is the plugin name (same as the TARGET in the project file) and DialogPlugin is the plugin classs
Q_EXPORT_PLUGIN2(FileDialog, DialogPlugin);
Q_EXPORT_PLUGIN2(FileDialog, DialogPlugin);
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,4 @@ void Directory::refresh()
}
m_fileList.append(file);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ void File::setName(const QString &str){
m_name = str;
emit nameChanged();
}
}
}
2 changes: 1 addition & 1 deletion examples/tutorials/gettingStarted/gsQml/filedialog/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ class File : public QObject{
QString m_name;
};

#endif
#endif
2 changes: 1 addition & 1 deletion examples/tutorials/modelview/4_headers/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ int main(int argc, char *argv[])
tableView.setModel( &myModel );
tableView.show();
return a.exec();
}
}
2 changes: 1 addition & 1 deletion examples/tutorials/threads/clock/clockthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ private slots:

};
//! [1]
#endif // CLOCKTHREAD_H
#endif // CLOCKTHREAD_H
2 changes: 1 addition & 1 deletion src/gui/dialogs/qfiledialog_win_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,4 @@ DECLARE_INTERFACE_(IFileOpenDialog, IFileDialog)
STDMETHOD(GetResults)(THIS_ IShellItemArray **ppenum) PURE;
STDMETHOD(GetSelectedItems)(THIS_ IShellItemArray **ppsai) PURE;
};
#endif
#endif
2 changes: 1 addition & 1 deletion tools/macdeployqt/tests/tst_deployment_mac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,4 @@ void tst_deployment_mac::testFindAppBinarty()

QTEST_MAIN(tst_deployment_mac)

#include "tst_deployment_mac.moc"
#include "tst_deployment_mac.moc"
4 changes: 2 additions & 2 deletions tools/qtconcurrent/codegenerator/src/codegenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const Compound operator+(const Item &a, const char * const text)

const Compound operator+(const char * const text, const Item &b)
{
return Compound(Text(text), b);
return Compound(Text(text), b);
}

}
}
2 changes: 1 addition & 1 deletion tools/qtestlib/wince/cetest/deployment.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ class DeploymentHandler

inline void DeploymentHandler::setConnection(AbstractRemoteConnection *connection) { m_connection = connection; }
inline AbstractRemoteConnection* DeploymentHandler::connection() const { return m_connection; }
#endif
#endif

0 comments on commit 84d51bf

Please sign in to comment.